Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009614, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007864/0.007864, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.781 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005065, allocations: 15.98 kB / 279.4 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3082, allocations: 47.58 MB / 327 MB, free: 1.719 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002293/0.3105, allocations: 1.394 MB / 328.4 MB, free: 0.6094 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3116, allocations: 0.5091 MB / 328.9 MB, free: 212 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.3118, allocations: 10.31 kB / 328.9 MB, free: 204 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.3119, allocations: 7.922 kB / 328.9 MB, free: 196 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.3122, allocations: 23.09 kB / 329 MB, free: 176 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3124, allocations: 33.88 kB / 329 MB, free: 152 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3126, allocations: 95.22 kB / 329.1 MB, free: 96 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3127, allocations: 23.83 kB / 329.1 MB, free: 84 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3129, allocations: 42.45 kB / 329.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.313, allocations: 42.14 kB / 329.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.313, allocations: 3.406 kB / 329.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.3131, allocations: 2.438 kB / 329.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.3132, allocations: 15.45 kB / 329.2 MB, free: 12 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3133, allocations: 63.12 kB / 329.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.3134, allocations: 70.88 kB / 329.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3135, allocations: 5.406 kB / 329.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.3135, allocations: 3.984 kB / 329.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3135, allocations: 0 / 329.4 MB, free: 15.89 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007403/0.3142, allocations: 392.6 kB / 329.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.3143, allocations: 12.94 kB / 329.8 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.3144, allocations: 15.44 kB / 329.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.3146, allocations: 200.9 kB / 330 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3146, allocations: 7.031 kB / 330 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.3147, allocations: 13.41 kB / 330 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3149, allocations: 84.31 kB / 330.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3149, allocations: 0 / 330.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3149, allocations: 0 / 330.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3149, allocations: 6.547 kB / 330.1 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3151, allocations: 46.38 kB / 330.1 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.3157, allocations: 410 kB / 330.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3159, allocations: 65.62 kB / 330.6 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.316, allocations: 35.53 kB / 330.6 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.316, allocations: 5.062 kB / 330.6 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3161, allocations: 35.69 kB / 330.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.3161, allocations: 0 / 330.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003623/0.3164, allocations: 101 kB / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3165, allocations: 52.56 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3167, allocations: 144.4 kB / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3167, allocations: 26.64 kB / 331 MB, free: 14.35 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.3168, allocations: 113.5 kB / 331.1 MB, free: 14.24 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.3168, allocations: 14.19 kB / 331.1 MB, free: 14.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.3169, allocations: 15.06 kB / 331.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3171, allocations: 321.7 kB / 331.4 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3172, allocations: 20.3 kB / 331.5 MB, free: 13.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.3173, allocations: 32.61 kB / 331.5 MB, free: 13.86 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3174, allocations: 48.25 kB / 331.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3174, allocations: 0 / 331.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002397/0.3177, allocations: 95.33 kB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3177, allocations: 5.125 kB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3177, allocations: 0 / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3178, allocations: 8.953 kB / 331.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.318, allocations: 38.09 kB / 331.7 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3181, allocations: 5.609 kB / 331.7 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.3181, allocations: 6.844 kB / 331.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3182, allocations: 9.219 kB / 331.7 MB, free: 13.75 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.3183, allocations: 113.9 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.3183, allocations: 12.31 kB / 331.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.3184, allocations: 18.45 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3184, allocations: 1.062 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3184, allocations: 0 / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3184, allocations: 1.281 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.3187, allocations: 196.4 kB / 332 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3187, allocations: 1.031 kB / 332 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.3189, allocations: 25.42 kB / 332.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3189, allocations: 0 / 332.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3189, allocations: 1.062 kB / 332.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3189, allocations: 1.156 kB / 332.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3189, allocations: 11.97 kB / 332.1 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.3193, allocations: 208.4 kB / 332.3 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.3194, allocations: 92.22 kB / 332.4 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3194, allocations: 0 / 332.4 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.3195, allocations: 11.25 kB / 332.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.3196, allocations: 6.062 kB / 332.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3196, allocations: 5.266 kB / 332.4 MB, free: 13.06 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.3197, allocations: 105.2 kB / 332.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3197, allocations: 0 / 332.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.3201, allocations: 12.81 kB / 332.5 MB, free: 12.98 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002122/0.3203, allocations: 99.45 kB / 332.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.3206, allocations: 60.31 kB / 332.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3206, allocations: 0 / 332.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.3207, allocations: 23.67 kB / 332.7 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3212, allocations: 22.67 kB / 332.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.3221, allocations: 317.3 kB / 333 MB, free: 12.58 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.3225, allocations: 0.7003 MB / 333.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.3226, allocations: 10.91 kB / 333.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.3227, allocations: 15.2 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3227, allocations: 0.9688 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of Templates: time 0.004348/0.327, allocations: 0.8118 MB / 334.6 MB, free: 11.44 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)