Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009556/0.0009555, allocations: 93.83 kB / 16.65 MB, free: 6.598 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.001088/0.001088, allocations: 179 kB / 17.56 MB, free: 6.199 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.579/1.579, allocations: 205.4 MB / 223.7 MB, free: 12.99 MB / 190.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.0004836/0.0004838, allocations: 11.98 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002184/0.1344, allocations: 1.395 MB / 329.7 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.1353, allocations: 0.5082 MB / 330.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1355, allocations: 3.938 kB / 330.2 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1356, allocations: 11.92 kB / 330.2 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1358, allocations: 19.86 kB / 330.2 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.136, allocations: 39.94 kB / 330.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.1363, allocations: 91.7 kB / 330.4 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1364, allocations: 29.11 kB / 330.4 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1365, allocations: 39.78 kB / 330.4 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1366, allocations: 35.78 kB / 330.5 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1367, allocations: 4 kB / 330.5 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.1367, allocations: 4 kB / 330.5 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.1368, allocations: 11.94 kB / 330.5 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.1368, allocations: 61.44 kB / 330.6 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.137, allocations: 83.91 kB / 330.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.137, allocations: 0 / 330.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.137, allocations: 0 / 330.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.137, allocations: 0 / 330.6 MB, free: 1.402 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.0006774/0.1377, allocations: 403 kB / 331 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.1378, allocations: 8.031 kB / 331 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.1378, allocations: 20.69 kB / 331.1 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.1381, allocations: 204.6 kB / 331.3 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1382, allocations: 4.375 kB / 331.3 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.1382, allocations: 12.12 kB / 331.3 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1385, allocations: 93.25 kB / 331.4 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1385, allocations: 0 / 331.4 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1385, allocations: 0 / 331.4 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1385, allocations: 0 / 331.4 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1387, allocations: 51.97 kB / 331.4 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.1393, allocations: 404 kB / 331.8 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1395, allocations: 62.59 kB / 331.9 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.1396, allocations: 28.94 kB / 331.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1396, allocations: 4 kB / 331.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1397, allocations: 38.5 kB / 331.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1397, allocations: 4 kB / 331.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.000318/0.14, allocations: 101.5 kB / 332 MB, free: 15.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.14, allocations: 55.41 kB / 332.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1402, allocations: 137.8 kB / 332.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1402, allocations: 37.7 kB / 332.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.1403, allocations: 108.1 kB / 332.4 MB, free: 15.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1403, allocations: 19.7 kB / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1404, allocations: 13.72 kB / 332.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1405, allocations: 322.8 kB / 332.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-05/0.1406, allocations: 19.98 kB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.1407, allocations: 23.98 kB / 332.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1408, allocations: 64.77 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1408, allocations: 0 / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000234/0.141, allocations: 89.52 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1411, allocations: 4 kB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1411, allocations: 4 kB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1411, allocations: 0 / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1413, allocations: 43.91 kB / 333 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1414, allocations: 0 / 333 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.1414, allocations: 11.94 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1414, allocations: 7.984 kB / 333 MB, free: 14.82 MB / 286.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.0001114/0.1416, allocations: 117.8 kB / 333.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1416, allocations: 11.84 kB / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.1416, allocations: 8.312 kB / 333.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1416, allocations: 8 kB / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1417, allocations: 0 / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1417, allocations: 0 / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.1419, allocations: 197.5 kB / 333.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1419, allocations: 3.938 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1421, allocations: 27.91 kB / 333.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1421, allocations: 0 / 333.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1421, allocations: 4 kB / 333.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1421, allocations: 4 kB / 333.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1421, allocations: 0 / 333.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1424, allocations: 211.6 kB / 333.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1425, allocations: 88.98 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1425, allocations: 8.062 kB / 333.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.1426, allocations: 7.984 kB / 333.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1427, allocations: 0 / 333.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1427, allocations: 4.062 kB / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.805e-05/0.1428, allocations: 115.9 kB / 333.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1428, allocations: 0 / 333.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.143, allocations: 16 kB / 333.8 MB, free: 13.9 MB / 286.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.0001376/0.1431, allocations: 95.19 kB / 333.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1434, allocations: 51.97 kB / 333.9 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1434, allocations: 7.938 kB / 334 MB, free: 13.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.1435, allocations: 20 kB / 334 MB, free: 13.72 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.144, allocations: 31.91 kB / 334 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.1447, allocations: 311.6 kB / 334.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.145, allocations: 0.7043 MB / 335 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.1451, allocations: 11.78 kB / 335 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.1451, allocations: 11.44 kB / 335 MB, free: 12.61 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1451, allocations: 0 / 335 MB, free: 12.61 MB / 286.1 MB Notification: Performance of Templates: time 0.004061/0.1492, allocations: 0.8163 MB / 335.9 MB, free: 11.79 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)