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.0007972/0.0007972, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001292/0.001292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004503/0.0004503, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001685/0.2211, allocations: 1.359 MB / 327.8 MB, free: 320 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.222, allocations: 0.5037 MB / 328.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2222, allocations: 5.312 kB / 328.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.49e-05/0.2223, allocations: 7.922 kB / 328.3 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2224, allocations: 12.06 kB / 328.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.2226, allocations: 40.8 kB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.2228, allocations: 89.64 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2229, allocations: 24.89 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.223, allocations: 37.62 kB / 328.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.2231, allocations: 29.84 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2231, allocations: 2.188 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.2232, allocations: 2.656 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.2232, allocations: 15.89 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.2232, allocations: 39.27 kB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.922e-05/0.2233, allocations: 57.02 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2234, allocations: 0 / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2234, allocations: 4 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2234, allocations: 0 / 328.7 MB, free: 15.66 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.0005243/0.2239, allocations: 405.9 kB / 329.1 MB, free: 15.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2239, allocations: 8.25 kB / 329.1 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.224, allocations: 13.78 kB / 329.1 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2242, allocations: 202.3 kB / 329.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2242, allocations: 6.938 kB / 329.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.2243, allocations: 11.3 kB / 329.3 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2245, allocations: 84.66 kB / 329.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2245, allocations: 0 / 329.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2245, allocations: 0 / 329.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2245, allocations: 3.688 kB / 329.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.2246, allocations: 44.47 kB / 329.5 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.2252, allocations: 405.4 kB / 329.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2254, allocations: 61.56 kB / 329.9 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.2254, allocations: 31.86 kB / 329.9 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2255, allocations: 5.141 kB / 329.9 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.2255, allocations: 43.56 kB / 330 MB, free: 14.4 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 2.875e-06/0.2255, allocations: 3.938 kB / 330 MB, free: 14.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000291/0.2258, allocations: 109 kB / 330.1 MB, free: 14.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2259, allocations: 51.41 kB / 330.1 MB, free: 14.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.226, allocations: 141.4 kB / 330.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.226, allocations: 29.7 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.2261, allocations: 110.4 kB / 330.4 MB, free: 14 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2261, allocations: 13.56 kB / 330.4 MB, free: 13.99 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.2261, allocations: 5.031 kB / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2262, allocations: 321.2 kB / 330.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.2263, allocations: 23.83 kB / 330.8 MB, free: 13.65 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.2264, allocations: 17.41 kB / 330.8 MB, free: 13.65 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.2264, allocations: 29.16 kB / 330.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2265, allocations: 0 / 330.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001729/0.2266, allocations: 90.91 kB / 330.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2267, allocations: 9.484 kB / 330.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2267, allocations: 4 kB / 330.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2267, allocations: 1.25 kB / 330.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2269, allocations: 41.39 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2269, allocations: 240 / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.227, allocations: 3.438 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.227, allocations: 2.312 kB / 331 MB, free: 13.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.2271, allocations: 117.4 kB / 331.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.2271, allocations: 12.53 kB / 331.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.2272, allocations: 14.73 kB / 331.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2272, allocations: 0 / 331.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2272, allocations: 9.109 kB / 331.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2272, allocations: 0 / 331.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.2274, allocations: 201.2 kB / 331.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2274, allocations: 0 / 331.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2276, allocations: 22.39 kB / 331.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2276, allocations: 0 / 331.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2276, allocations: 5.078 kB / 331.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2276, allocations: 7.984 kB / 331.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2276, allocations: 1.375 kB / 331.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.2279, allocations: 203.5 kB / 331.6 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.2279, allocations: 92.64 kB / 331.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.228, allocations: 3.938 kB / 331.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.228, allocations: 11.16 kB / 331.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.2281, allocations: 6.016 kB / 331.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2281, allocations: 8.906 kB / 331.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.2282, allocations: 106.1 kB / 331.8 MB, free: 12.77 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2282, allocations: 3.938 kB / 331.8 MB, free: 12.77 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.2284, allocations: 16.61 kB / 331.8 MB, free: 12.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.181e-05/0.2285, allocations: 99.53 kB / 331.9 MB, free: 12.67 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.2287, allocations: 55.06 kB / 331.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2287, allocations: 1 kB / 331.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.2288, allocations: 27.05 kB / 332 MB, free: 12.64 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2291, allocations: 18.05 kB / 332 MB, free: 12.63 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.2298, allocations: 296.4 kB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2301, allocations: 0.7045 MB / 333 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.2301, allocations: 11.64 kB / 333 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2302, allocations: 10.22 kB / 333 MB, free: 11.67 MB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2302, allocations: 1.438 kB / 333 MB, free: 11.67 MB / 270.1 MB Notification: Performance of Templates: time 0.003063/0.2332, allocations: 0.7864 MB / 333.8 MB, free: 11.27 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)