Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.006971/0.006971, allocations: 108.2 kB / 15.74 MB, free: 6.441 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.001489/0.001489, allocations: 190.9 kB / 16.67 MB, free: 6.355 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001449/0.001449, allocations: 46.44 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003277/0.1079, allocations: 1.67 MB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.109, allocations: 0.5306 MB / 375.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1091, allocations: 0 / 375.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1093, allocations: 7.875 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1095, allocations: 27.72 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1098, allocations: 51.92 kB / 375.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.11, allocations: 99.64 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1101, allocations: 33.05 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1102, allocations: 43.78 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.1103, allocations: 43.77 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1104, allocations: 8 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.1104, allocations: 8 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.1105, allocations: 23.91 kB / 375.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.1105, allocations: 43.73 kB / 375.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1107, allocations: 79.66 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1107, allocations: 7.984 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1107, allocations: 4 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1107, allocations: 0 / 375.8 MB, free: 14.62 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.000658/0.1114, allocations: 403 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1114, allocations: 11.97 kB / 376.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.1115, allocations: 16.78 kB / 376.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.1119, allocations: 204.6 kB / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1119, allocations: 12.36 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.1119, allocations: 12.12 kB / 376.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1122, allocations: 81.59 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1122, allocations: 0 / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1122, allocations: 0 / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1122, allocations: 4 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1124, allocations: 39.97 kB / 376.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.113, allocations: 411.8 kB / 377 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1132, allocations: 62.53 kB / 377.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.1133, allocations: 32.89 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1133, allocations: 0 / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1133, allocations: 34.56 kB / 377.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1133, allocations: 4 kB / 377.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000356/0.1137, allocations: 101.5 kB / 377.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.1138, allocations: 51.41 kB / 377.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1139, allocations: 137.8 kB / 377.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1139, allocations: 25.7 kB / 377.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.114, allocations: 108 kB / 377.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.114, allocations: 19.88 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1141, allocations: 17.72 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1142, allocations: 330.8 kB / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.1143, allocations: 19.98 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.1144, allocations: 16 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1145, allocations: 48.84 kB / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1145, allocations: 0 / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001798/0.1147, allocations: 89.52 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1147, allocations: 4 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1147, allocations: 4 kB / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1148, allocations: 0 / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.115, allocations: 43.91 kB / 378.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.115, allocations: 4 kB / 378.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.1151, allocations: 7.891 kB / 378.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1151, allocations: 7.938 kB / 378.1 MB, free: 12.07 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 9.844e-05/0.1152, allocations: 117.8 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.1152, allocations: 11.84 kB / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.1153, allocations: 12.31 kB / 378.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1153, allocations: 0 / 378.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1153, allocations: 4 kB / 378.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1153, allocations: 3.984 kB / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1155, allocations: 197.6 kB / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1156, allocations: 3.938 kB / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1157, allocations: 27.92 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1157, allocations: 0 / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1157, allocations: 0 / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1158, allocations: 0 / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1158, allocations: 4 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1161, allocations: 207.6 kB / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.1161, allocations: 88.98 kB / 378.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1161, allocations: 0 / 378.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.1162, allocations: 11.97 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1163, allocations: 0 / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1163, allocations: 4 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.925e-05/0.1164, allocations: 116.1 kB / 378.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1164, allocations: 0 / 378.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1166, allocations: 19.84 kB / 379 MB, free: 11.16 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.000108/0.1167, allocations: 91.25 kB / 379 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1169, allocations: 51.91 kB / 379.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1169, allocations: 0 / 379.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.117, allocations: 27.98 kB / 379.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1174, allocations: 23.92 kB / 379.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.1181, allocations: 257.4 kB / 379.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1184, allocations: 0.7079 MB / 380.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.1184, allocations: 11.86 kB / 380.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1185, allocations: 15.44 kB / 380.1 MB, free: 9.926 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1185, allocations: 0 / 380.1 MB, free: 9.926 MB / 318.1 MB Notification: Performance of Templates: time 0.003955/0.1224, allocations: 0.9176 MB / 381 MB, free: 9.008 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)