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.00565/0.00565, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001161/0.001161, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.489/1.489, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001248/0.001248, allocations: 58.31 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1077, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003056/0.1108, allocations: 1.674 MB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1118, allocations: 0.5228 MB / 375.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1119, allocations: 7.938 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1121, allocations: 7.875 kB / 375.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1123, allocations: 27.78 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1125, allocations: 43.94 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1127, allocations: 103.7 kB / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1128, allocations: 32.98 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1129, allocations: 43.78 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.1131, allocations: 47.77 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1131, allocations: 12 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.1131, allocations: 4 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.1132, allocations: 19.92 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.1132, allocations: 43.73 kB / 375.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1134, allocations: 83.58 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1134, allocations: 0 / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1134, allocations: 3.938 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1134, allocations: 0 / 375.8 MB, free: 14.64 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.0006516/0.1141, allocations: 411 kB / 376.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1142, allocations: 8.031 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.1142, allocations: 24.78 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.1145, allocations: 208.7 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1146, allocations: 8.312 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1146, allocations: 12.12 kB / 376.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1148, allocations: 73.66 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1148, allocations: 4 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1149, allocations: 4 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1149, allocations: 4 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.115, allocations: 43.91 kB / 376.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.1156, allocations: 408 kB / 377 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1158, allocations: 58.53 kB / 377.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.1159, allocations: 32.89 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1159, allocations: 4 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.116, allocations: 30.56 kB / 377.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.116, allocations: 0 / 377.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003016/0.1163, allocations: 101.5 kB / 377.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1163, allocations: 59.41 kB / 377.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1164, allocations: 137.8 kB / 377.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1165, allocations: 29.7 kB / 377.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.1165, allocations: 104.1 kB / 377.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1166, allocations: 23.92 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1166, allocations: 21.72 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1167, allocations: 318.8 kB / 377.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.1168, allocations: 23.98 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.1169, allocations: 19.98 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.117, allocations: 56.83 kB / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.117, allocations: 0 / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001662/0.1172, allocations: 85.52 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1172, allocations: 4 kB / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1172, allocations: 4 kB / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1172, allocations: 0 / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.1174, allocations: 35.97 kB / 378.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1175, allocations: 3.984 kB / 378.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.1175, allocations: 12 kB / 378.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1175, allocations: 0 / 378.1 MB, free: 12.08 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.487e-05/0.1176, allocations: 121.7 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1177, allocations: 15.84 kB / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.1177, allocations: 16.3 kB / 378.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1177, allocations: 3.938 kB / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1177, allocations: 0 / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1177, allocations: 0 / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1179, allocations: 193.6 kB / 378.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1179, allocations: 4 kB / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1181, allocations: 24.17 kB / 378.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1181, allocations: 3.938 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1181, allocations: 12 kB / 378.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1181, allocations: 0 / 378.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1181, allocations: 0 / 378.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1184, allocations: 195.5 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1185, allocations: 93 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1185, allocations: 12.02 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.1186, allocations: 0 / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1186, allocations: 4 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1187, allocations: 0 / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.263e-05/0.1187, allocations: 108 kB / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1187, allocations: 0 / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.119, allocations: 19.95 kB / 379 MB, free: 11.18 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.0001012/0.1191, allocations: 103.2 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1193, allocations: 47.97 kB / 379.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1193, allocations: 0 / 379.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-05/0.1193, allocations: 19.98 kB / 379.1 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1197, allocations: 35.83 kB / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.1203, allocations: 264.8 kB / 379.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1206, allocations: 0.7002 MB / 380.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.1207, allocations: 11.84 kB / 380.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.1207, allocations: 11.44 kB / 380.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1207, allocations: 0 / 380.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of Templates: time 0.003517/0.1242, allocations: 0.9216 MB / 381.1 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)