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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001105/0.001105, allocations: 195.8 kB / 16.14 MB, free: 6.707 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.281/1.281, allocations: 205.1 MB / 222 MB, free: 4.984 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.001039/0.001039, allocations: 43.92 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2008, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002861/0.2037, allocations: 1.729 MB / 326.4 MB, free: 476 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007354/0.2045, allocations: 0.5263 MB / 326.9 MB, free: 48 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.2046, allocations: 1.656 kB / 326.9 MB, free: 48 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2047, allocations: 13.42 kB / 326.9 MB, free: 36 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.2049, allocations: 10.91 kB / 327 MB, free: 28 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.205, allocations: 45.62 kB / 327 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.2052, allocations: 90.42 kB / 327.1 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.2053, allocations: 33.03 kB / 327.1 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.2054, allocations: 43.55 kB / 327.2 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.2055, allocations: 42.59 kB / 327.2 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2056, allocations: 4.344 kB / 327.2 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.2056, allocations: 4.125 kB / 327.2 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.2057, allocations: 20.47 kB / 327.2 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.2057, allocations: 40.77 kB / 327.3 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2058, allocations: 84.55 kB / 327.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2059, allocations: 0 / 327.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2059, allocations: 0 / 327.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2059, allocations: 0 / 327.4 MB, free: 15.75 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.0005598/0.2064, allocations: 412.8 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2065, allocations: 8.938 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.2065, allocations: 10.94 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.2067, allocations: 198.8 kB / 328 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.2067, allocations: 8.375 kB / 328 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.2068, allocations: 15.31 kB / 328 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.207, allocations: 78.97 kB / 328.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.207, allocations: 0 / 328.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.207, allocations: 4 kB / 328.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.207, allocations: 0 / 328.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2071, allocations: 43.39 kB / 328.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.2077, allocations: 415.8 kB / 328.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2079, allocations: 55.17 kB / 328.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/0.2079, allocations: 30.84 kB / 328.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.208, allocations: 0 / 328.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.208, allocations: 39.92 kB / 328.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 3.136e-06/0.208, allocations: 0 / 328.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002746/0.2083, allocations: 103.1 kB / 328.7 MB, free: 14.42 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2083, allocations: 52.59 kB / 328.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2084, allocations: 141.9 kB / 328.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.2085, allocations: 25.7 kB / 329 MB, free: 14.21 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.2085, allocations: 112.9 kB / 329.1 MB, free: 14.1 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.2086, allocations: 30 kB / 329.1 MB, free: 14.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.2086, allocations: 19.25 kB / 329.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.2087, allocations: 321.4 kB / 329.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.2088, allocations: 18.05 kB / 329.4 MB, free: 13.72 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.2088, allocations: 23.33 kB / 329.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.209, allocations: 48.75 kB / 329.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.209, allocations: 0 / 329.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.2091, allocations: 99.97 kB / 329.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2091, allocations: 4 kB / 329.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2092, allocations: 1.469 kB / 329.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2092, allocations: 3.984 kB / 329.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2094, allocations: 36.97 kB / 329.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2094, allocations: 0 / 329.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.2095, allocations: 6.844 kB / 329.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2095, allocations: 1.5 kB / 329.7 MB, free: 13.6 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 9.134e-05/0.2096, allocations: 121.9 kB / 329.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.2096, allocations: 12.03 kB / 329.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.2097, allocations: 14.61 kB / 329.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2097, allocations: 1.344 kB / 329.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2097, allocations: 0 / 329.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2097, allocations: 1.406 kB / 329.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.2099, allocations: 197 kB / 330 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2099, allocations: 0 / 330 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2101, allocations: 24.11 kB / 330 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2101, allocations: 1.438 kB / 330 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2101, allocations: 4 kB / 330 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2101, allocations: 1.469 kB / 330 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2101, allocations: 0 / 330 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.2104, allocations: 203 kB / 330.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.2105, allocations: 91.38 kB / 330.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.2105, allocations: 5.375 kB / 330.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.2106, allocations: 5.156 kB / 330.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.2106, allocations: 6.156 kB / 330.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2107, allocations: 5.078 kB / 330.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.2108, allocations: 109.9 kB / 330.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.264e-06/0.2108, allocations: 0 / 330.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.211, allocations: 24.09 kB / 330.5 MB, free: 12.82 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.0001317/0.2112, allocations: 92.44 kB / 330.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.2114, allocations: 47.94 kB / 330.6 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2114, allocations: 4 kB / 330.6 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.2115, allocations: 26.27 kB / 330.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.2119, allocations: 34.88 kB / 330.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.2127, allocations: 284.4 kB / 331 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.2131, allocations: 0.7004 MB / 331.7 MB, free: 11.74 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.2132, allocations: 6.938 kB / 331.7 MB, free: 11.74 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.2132, allocations: 15.53 kB / 331.7 MB, free: 11.73 MB / 270.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2132, allocations: 0 / 331.7 MB, free: 11.73 MB / 270.1 MB Notification: Performance of Templates: time 0.003518/0.2167, allocations: 0.8305 MB / 332.5 MB, free: 11.3 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)