Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.0009084, allocations: 92.88 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 207.1 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 247.5 MB, free: 9.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 8.281 kB / 308.4 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1024, allocations: 51.53 MB / 359.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001589/0.1041, allocations: 1.086 MB / 361 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.1099, allocations: 4.044 MB / 365 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.11, allocations: 0 / 365 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.1101, allocations: 3.984 kB / 365 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.1112, allocations: 247.2 kB / 365.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1126, allocations: 434 kB / 365.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.1127, allocations: 59.67 kB / 365.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.1127, allocations: 0 / 365.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1128, allocations: 39.84 kB / 365.8 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007399/0.1136, allocations: 407.1 kB / 366.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1136, allocations: 0 / 366.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1147, allocations: 0.5575 MB / 366.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1147, allocations: 11.97 kB / 366.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.1148, allocations: 45.58 kB / 366.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.1155, allocations: 319.7 kB / 367.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1155, allocations: 0 / 367.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1156, allocations: 0 / 367.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1156, allocations: 3.938 kB / 367.1 MB, free: 5.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006072/0.1162, allocations: 431.3 kB / 367.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1162, allocations: 12.03 kB / 367.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1163, allocations: 8.844 kB / 367.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1165, allocations: 192.1 kB / 367.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1165, allocations: 8.312 kB / 367.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1166, allocations: 3.938 kB / 367.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1167, allocations: 67.39 kB / 367.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1168, allocations: 0 / 367.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1168, allocations: 0 / 367.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1168, allocations: 0 / 367.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.1169, allocations: 23.92 kB / 367.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1171, allocations: 170.6 kB / 368 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1174, allocations: 81.12 kB / 368.1 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.1175, allocations: 33.7 kB / 368.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.1185, allocations: 1.54 MB / 369.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1185, allocations: 30.56 kB / 369.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1185, allocations: 0 / 369.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003178/0.1189, allocations: 89.48 kB / 369.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.1189, allocations: 77.11 kB / 369.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.119, allocations: 113.8 kB / 370 MB, free: 2.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1191, allocations: 29.7 kB / 370 MB, free: 2.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.1191, allocations: 88.12 kB / 370.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.1192, allocations: 19.66 kB / 370.1 MB, free: 2.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.1192, allocations: 13.72 kB / 370.1 MB, free: 2.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1193, allocations: 318.8 kB / 370.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.1194, allocations: 15.98 kB / 370.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.666e-05/0.1195, allocations: 43.42 kB / 370.5 MB, free: 1.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1196, allocations: 55.36 kB / 370.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1196, allocations: 0 / 370.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001986/0.1198, allocations: 85.48 kB / 370.6 MB, free: 1.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1198, allocations: 8.062 kB / 370.6 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1199, allocations: 4 kB / 370.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1199, allocations: 0 / 370.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.12, allocations: 15.98 kB / 370.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.12, allocations: 4 kB / 370.7 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.12, allocations: 0 / 370.7 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1201, allocations: 8 kB / 370.7 MB, free: 1.648 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.255e-05/0.1202, allocations: 125.6 kB / 370.8 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.1202, allocations: 3.906 kB / 370.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.1206, allocations: 128.8 kB / 370.9 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1206, allocations: 3.938 kB / 370.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1206, allocations: 0 / 370.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1206, allocations: 0 / 370.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1207, allocations: 177.5 kB / 371.1 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1208, allocations: 0 / 371.1 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.1209, allocations: 19.98 kB / 371.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1209, allocations: 0 / 371.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1209, allocations: 4 kB / 371.1 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1209, allocations: 0 / 371.1 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1209, allocations: 0 / 371.1 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.1212, allocations: 146.8 kB / 371.3 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.1213, allocations: 97.08 kB / 371.4 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1213, allocations: 12 kB / 371.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.1213, allocations: 0 / 371.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1214, allocations: 7.984 kB / 371.4 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1214, allocations: 7.984 kB / 371.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.987e-05/0.1214, allocations: 95.33 kB / 371.5 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1215, allocations: 0 / 371.5 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.1219, allocations: 127.9 kB / 371.6 MB, free: 0.6094 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007471/0.1227, allocations: 296 kB / 371.9 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1229, allocations: 48.05 kB / 372 MB, free: 280 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1229, allocations: 0 / 372 MB, free: 280 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.123, allocations: 31.92 kB / 372 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1233, allocations: 14.45 kB / 372 MB, free: 236 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1596/0.2828, allocations: 366.2 kB / 372.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.283, allocations: 0.6881 MB / 373 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.2831, allocations: 24.56 kB / 373.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2831, allocations: 0 / 373.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of Templates: time 0.006273/0.2894, allocations: 2.899 MB / 376 MB, free: 18.29 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)