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.001427/0.001427, allocations: 105.6 kB / 17.06 MB, free: 6.023 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.001583/0.001584, allocations: 195 kB / 18 MB, free: 5.105 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.842/1.842, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001319/0.001319, allocations: 56.3 kB / 327.9 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09893, allocations: 46.62 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003226/0.1022, allocations: 1.665 MB / 376.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1033, allocations: 0.5345 MB / 376.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1035, allocations: 0 / 376.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.1037, allocations: 7.875 kB / 376.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1039, allocations: 23.78 kB / 376.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1041, allocations: 55.88 kB / 376.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1043, allocations: 99.69 kB / 376.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1045, allocations: 33.09 kB / 376.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1046, allocations: 39.84 kB / 376.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1047, allocations: 47.7 kB / 377 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1047, allocations: 8 kB / 377 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.1047, allocations: 8 kB / 377 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1048, allocations: 19.92 kB / 377 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.1049, allocations: 39.73 kB / 377 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.105, allocations: 91.58 kB / 377.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.105, allocations: 0 / 377.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.105, allocations: 0 / 377.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1051, allocations: 4 kB / 377.1 MB, free: 1.902 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.0006133/0.1057, allocations: 407 kB / 377.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1057, allocations: 8.031 kB / 377.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.1058, allocations: 12.78 kB / 377.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1061, allocations: 212.7 kB / 377.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1061, allocations: 4.375 kB / 377.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.1061, allocations: 12.12 kB / 377.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1063, allocations: 81.59 kB / 377.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1063, allocations: 0 / 377.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1064, allocations: 0 / 377.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1064, allocations: 4 kB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1065, allocations: 43.91 kB / 377.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.1071, allocations: 403.9 kB / 378.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1072, allocations: 58.59 kB / 378.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.1073, allocations: 28.89 kB / 378.4 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1073, allocations: 0 / 378.4 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1073, allocations: 34.56 kB / 378.4 MB, free: 456 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.385e-06/0.1073, allocations: 0 / 378.4 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002896/0.1076, allocations: 109.4 kB / 378.5 MB, free: 340 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1077, allocations: 51.41 kB / 378.6 MB, free: 276 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1078, allocations: 141.8 kB / 378.7 MB, free: 124 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1078, allocations: 25.7 kB / 378.7 MB, free: 92 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2262/0.3341, allocations: 112 kB / 378.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.3341, allocations: 21.5 kB / 378.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.3342, allocations: 21.72 kB / 378.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.3343, allocations: 319.2 kB / 379.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3344, allocations: 22.36 kB / 379.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/0.3344, allocations: 18.66 kB / 379.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3346, allocations: 52.45 kB / 379.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.3346, allocations: 5.031 kB / 379.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.3348, allocations: 87.89 kB / 379.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3348, allocations: 4.5 kB / 379.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3348, allocations: 0.9688 kB / 379.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3348, allocations: 3.75 kB / 379.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.3351, allocations: 37.8 kB / 379.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3351, allocations: 0 / 379.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.3351, allocations: 7.109 kB / 379.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.3352, allocations: 5.625 kB / 379.4 MB, free: 12.78 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 6.983e-05/0.3352, allocations: 118 kB / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.3353, allocations: 11.19 kB / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.3353, allocations: 21.5 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3353, allocations: 3.516 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3353, allocations: 0 / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3353, allocations: 0 / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3355, allocations: 194.9 kB / 379.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3355, allocations: 2.094 kB / 379.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3357, allocations: 22.08 kB / 379.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3357, allocations: 2.562 kB / 379.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3357, allocations: 7.391 kB / 379.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3357, allocations: 2.203 kB / 379.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3357, allocations: 0 / 379.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.336, allocations: 203.2 kB / 380 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.336, allocations: 87.22 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.336, allocations: 5.969 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.3361, allocations: 7.062 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.3362, allocations: 6.859 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3362, allocations: 2.922 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.3362, allocations: 112.3 kB / 380.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3362, allocations: 4.516 kB / 380.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3365, allocations: 14.62 kB / 380.3 MB, free: 12.15 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 8.093e-05/0.3366, allocations: 92.39 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3367, allocations: 50.59 kB / 380.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3367, allocations: 0 / 380.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.3368, allocations: 26.08 kB / 380.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3371, allocations: 26.48 kB / 380.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.3377, allocations: 267.7 kB / 380.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3378, allocations: 0.7003 MB / 381.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.3379, allocations: 15.05 kB / 381.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.3379, allocations: 16.5 kB / 381.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3379, allocations: 0.7656 kB / 381.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003409/0.3414, allocations: 0.9342 MB / 382.4 MB, free: 11.12 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)