Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008042/0.008042, allocations: 101.7 kB / 15.73 MB, free: 6.469 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.001522/0.001522, allocations: 194 kB / 16.67 MB, free: 6.379 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.0012/0.0012, allocations: 51.28 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1153, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003327/0.1187, allocations: 1.662 MB / 374.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.1196, allocations: 0.5267 MB / 375.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.1197, allocations: 4 kB / 375.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.1198, allocations: 7.875 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.12, allocations: 27.78 kB / 375.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1202, allocations: 51.86 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1204, allocations: 95.7 kB / 375.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1205, allocations: 40.97 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/0.1206, allocations: 43.78 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.1207, allocations: 43.77 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1207, allocations: 4 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1208, allocations: 12 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1208, allocations: 23.91 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.1209, allocations: 47.73 kB / 375.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.121, allocations: 83.64 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1211, allocations: 0 / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1211, allocations: 0 / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1211, 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.0005702/0.1216, allocations: 407 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1217, allocations: 12.03 kB / 376.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.1217, allocations: 16.78 kB / 376.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.122, allocations: 200.6 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.122, allocations: 8.375 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1221, allocations: 8.125 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1222, allocations: 85.53 kB / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1223, allocations: 0 / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1223, allocations: 4 kB / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1223, allocations: 0 / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1224, allocations: 47.97 kB / 376.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.123, allocations: 407.8 kB / 377 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1231, allocations: 58.59 kB / 377 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.1232, allocations: 36.83 kB / 377.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1232, allocations: 4 kB / 377.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1233, allocations: 34.56 kB / 377.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1233, allocations: 0 / 377.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002814/0.1236, allocations: 97.5 kB / 377.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1236, allocations: 51.41 kB / 377.3 MB, free: 13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1237, allocations: 141.8 kB / 377.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1238, allocations: 29.7 kB / 377.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.1238, allocations: 108 kB / 377.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1238, allocations: 19.88 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1239, allocations: 21.72 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.124, allocations: 318.8 kB / 377.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.234e-05/0.1241, allocations: 23.92 kB / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.675e-05/0.1241, allocations: 16 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1242, allocations: 52.83 kB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1242, allocations: 4 kB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001574/0.1244, allocations: 85.53 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1244, allocations: 4 kB / 378.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1244, allocations: 0 / 378.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1245, allocations: 4 kB / 378.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.1247, allocations: 39.91 kB / 378.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1247, allocations: 0 / 378.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.1248, allocations: 11.89 kB / 378.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1248, allocations: 4 kB / 378.1 MB, free: 12.09 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 7.681e-05/0.1249, allocations: 125.7 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.1249, allocations: 11.84 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.1249, allocations: 12.31 kB / 378.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1249, allocations: 0 / 378.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.125, allocations: 3.984 kB / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.125, allocations: 0 / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1252, allocations: 197.6 kB / 378.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1252, allocations: 0 / 378.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1253, allocations: 27.92 kB / 378.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1253, allocations: 0 / 378.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1254, allocations: 7.984 kB / 378.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1254, allocations: 3.938 kB / 378.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1254, allocations: 0 / 378.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1257, allocations: 203.6 kB / 378.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1257, allocations: 84.95 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1257, allocations: 12.16 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.1258, allocations: 3.984 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1258, allocations: 8 kB / 378.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1259, allocations: 0 / 378.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.1259, allocations: 108 kB / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1259, allocations: 0 / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1262, allocations: 19.84 kB / 378.9 MB, free: 11.19 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 9.477e-05/0.1263, allocations: 103.2 kB / 379 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1265, allocations: 55.91 kB / 379.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1265, allocations: 0 / 379.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.1265, 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.0003222/0.1269, allocations: 27.83 kB / 379.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.1275, allocations: 261.4 kB / 379.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1277, allocations: 0.708 MB / 380.1 MB, free: 9.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.1278, allocations: 11.8 kB / 380.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1278, allocations: 11.44 kB / 380.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1278, allocations: 0 / 380.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of Templates: time 0.003339/0.1312, allocations: 0.9332 MB / 381.1 MB, free: 9.004 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)