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.009173/0.009173, allocations: 102.6 kB / 15.73 MB, free: 6.066 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.001338/0.001338, allocations: 198.1 kB / 16.68 MB, free: 5.98 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001308/0.001308, allocations: 54.52 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 46.62 MB / 373.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.004645/0.1128, allocations: 1.674 MB / 374.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1142, allocations: 0.5306 MB / 375.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1144, allocations: 4 kB / 375.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1146, allocations: 7.875 kB / 375.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1149, allocations: 23.78 kB / 375.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1152, allocations: 51.86 kB / 375.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.1154, allocations: 95.7 kB / 375.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1156, allocations: 36.98 kB / 375.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1157, allocations: 39.84 kB / 375.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1159, allocations: 51.7 kB / 375.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1159, allocations: 8 kB / 375.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.33e-05/0.1159, allocations: 4 kB / 375.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.116, allocations: 19.92 kB / 375.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.1161, allocations: 51.66 kB / 375.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1163, allocations: 79.72 kB / 375.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1163, allocations: 4 kB / 375.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1163, allocations: 0 / 375.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1164, allocations: 0 / 375.8 MB, free: 14.74 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.0008147/0.1172, allocations: 407 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1172, allocations: 12.03 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1173, allocations: 12.78 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1177, allocations: 208.7 kB / 376.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1177, allocations: 4.375 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.1178, allocations: 16.12 kB / 376.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1181, allocations: 85.53 kB / 376.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1181, allocations: 0 / 376.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1181, allocations: 0 / 376.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1181, allocations: 3.984 kB / 376.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1183, allocations: 47.91 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.119, allocations: 407.9 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1192, allocations: 54.59 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1193, allocations: 32.89 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1194, allocations: 0 / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.1194, allocations: 34.56 kB / 377.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1194, allocations: 4 kB / 377.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004007/0.1198, allocations: 101.4 kB / 377.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1199, allocations: 55.41 kB / 377.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1201, allocations: 133.8 kB / 377.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1201, allocations: 29.7 kB / 377.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.1202, allocations: 108 kB / 377.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1203, allocations: 23.86 kB / 377.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.1203, allocations: 21.72 kB / 377.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1205, allocations: 318.8 kB / 377.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.1205, allocations: 23.98 kB / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.1206, allocations: 16 kB / 377.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1208, allocations: 52.78 kB / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1208, allocations: 0 / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002108/0.121, allocations: 85.52 kB / 378.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.121, allocations: 12 kB / 378.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.121, allocations: 0 / 378.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1211, allocations: 0 / 378.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.1213, allocations: 39.97 kB / 378.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1214, allocations: 0 / 378.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.1215, allocations: 11.89 kB / 378.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1215, allocations: 0 / 378.1 MB, free: 12.19 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 0.0001202/0.1216, allocations: 129.6 kB / 378.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.1217, allocations: 11.84 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.1217, allocations: 16.31 kB / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1217, allocations: 0 / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1217, allocations: 0 / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1218, allocations: 3.984 kB / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.122, allocations: 193.9 kB / 378.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.122, allocations: 4 kB / 378.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.1222, allocations: 27.92 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1223, allocations: 4 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1223, allocations: 0 / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1223, allocations: 0 / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1223, allocations: 4 kB / 378.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.1228, allocations: 203.4 kB / 378.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1228, allocations: 92.92 kB / 378.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1229, allocations: 0 / 378.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.123, allocations: 3.984 kB / 378.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1231, allocations: 4 kB / 378.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1231, allocations: 4.062 kB / 378.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1232, allocations: 112 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1232, allocations: 4 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.1236, allocations: 19.84 kB / 379 MB, free: 11.27 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.0001151/0.1237, allocations: 91.25 kB / 379 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1239, allocations: 47.97 kB / 379.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1239, allocations: 0 / 379.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.124, allocations: 31.92 kB / 379.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.1245, allocations: 31.91 kB / 379.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.1253, allocations: 257.4 kB / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1256, allocations: 0.7041 MB / 380.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.1257, allocations: 11.86 kB / 380.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.1258, allocations: 15.44 kB / 380.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1258, allocations: 0 / 380.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Templates: time 0.0047/0.1305, allocations: 0.9137 MB / 381.1 MB, free: 9.117 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)