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.001717/0.001717, allocations: 112 kB / 17.07 MB, free: 5.945 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.002144/0.002144, allocations: 196 kB / 18.01 MB, free: 5.035 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.735/1.735, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.001844/0.001844, allocations: 48.34 kB / 327.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1277, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003603/0.1314, allocations: 1.669 MB / 376.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1326, allocations: 0.5306 MB / 376.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.1327, allocations: 4 kB / 376.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1328, allocations: 7.875 kB / 376.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1331, allocations: 27.78 kB / 376.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1333, allocations: 55.86 kB / 376.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1335, allocations: 95.7 kB / 376.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1336, allocations: 25.11 kB / 376.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.1337, allocations: 51.77 kB / 376.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1339, allocations: 39.78 kB / 377 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1339, allocations: 8 kB / 377 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.1339, allocations: 8 kB / 377 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.134, allocations: 19.92 kB / 377 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.1341, allocations: 43.72 kB / 377 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1342, allocations: 87.58 kB / 377.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1343, allocations: 0 / 377.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1343, allocations: 7.938 kB / 377.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1343, allocations: 0 / 377.1 MB, free: 1.887 MB / 318.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.0007865/0.1351, allocations: 407 kB / 377.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1351, allocations: 8.031 kB / 377.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.1352, allocations: 12.84 kB / 377.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.1356, allocations: 200.7 kB / 377.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1356, allocations: 4.375 kB / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.1357, allocations: 16.06 kB / 377.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.1359, allocations: 81.66 kB / 377.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1359, allocations: 0 / 377.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.136, allocations: 0 / 377.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.136, allocations: 4 kB / 377.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1361, allocations: 43.91 kB / 377.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.1368, allocations: 403.9 kB / 378.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.137, allocations: 62.59 kB / 378.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.1371, allocations: 36.83 kB / 378.4 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1371, allocations: 0 / 378.4 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1371, allocations: 38.5 kB / 378.4 MB, free: 432 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1371, allocations: 0 / 378.4 MB, free: 432 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004461/0.1376, allocations: 105.5 kB / 378.5 MB, free: 320 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1376, allocations: 51.41 kB / 378.6 MB, free: 256 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1379, allocations: 141.8 kB / 378.7 MB, free: 104 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1379, allocations: 25.7 kB / 378.7 MB, free: 72 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2411/0.379, allocations: 110 kB / 378.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.3792, allocations: 23.33 kB / 378.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.3793, allocations: 19.58 kB / 378.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.3794, allocations: 319.7 kB / 379.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3795, allocations: 21.33 kB / 379.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.3796, allocations: 25.86 kB / 379.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3798, allocations: 48.36 kB / 379.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3798, allocations: 1.406 kB / 379.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002221/0.38, allocations: 84.77 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3801, allocations: 9.062 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3801, allocations: 1.375 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3801, allocations: 4.312 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.3804, allocations: 37.8 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3804, allocations: 1.375 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.3805, allocations: 2.781 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3805, allocations: 4.75 kB / 379.4 MB, free: 12.77 MB / 318.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 8.677e-05/0.3806, allocations: 123.1 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.3806, allocations: 12.56 kB / 379.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.3807, allocations: 14.39 kB / 379.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3807, allocations: 4.516 kB / 379.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3807, allocations: 0.7031 kB / 379.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3807, allocations: 1.094 kB / 379.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3809, allocations: 196.6 kB / 379.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3809, allocations: 0 / 379.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3811, allocations: 32.55 kB / 379.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3811, allocations: 1.438 kB / 379.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3811, allocations: 5.016 kB / 379.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3811, allocations: 1.188 kB / 379.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3811, allocations: 0 / 379.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3814, allocations: 201.4 kB / 380 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.3814, allocations: 84.75 kB / 380.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3814, allocations: 5.312 kB / 380.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.3815, allocations: 2.359 kB / 380.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3816, allocations: 7.609 kB / 380.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3816, allocations: 4.047 kB / 380.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.81e-05/0.3817, allocations: 110.2 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3817, allocations: 3.469 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3819, allocations: 18.5 kB / 380.3 MB, free: 12.14 MB / 318.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.000111/0.382, allocations: 92.84 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.3822, allocations: 52.77 kB / 380.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3822, allocations: 0 / 380.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.3823, allocations: 20.88 kB / 380.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3826, allocations: 29.52 kB / 380.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.3832, allocations: 265.8 kB / 380.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3834, allocations: 0.7005 MB / 381.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.592e-05/0.3835, allocations: 12.75 kB / 381.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.3835, allocations: 14.41 kB / 381.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3835, allocations: 0 / 381.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Templates: time 0.003871/0.3874, allocations: 0.9246 MB / 382.4 MB, free: 11.11 MB / 318.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)