Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 64.45 kB / 307.9 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09948, allocations: 50.54 MB / 358.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002689/0.1022, allocations: 1.358 MB / 359.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.1078, allocations: 4.05 MB / 363.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.1078, allocations: 0 / 363.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.1079, allocations: 3.984 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.109, allocations: 282.9 kB / 364.1 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1102, allocations: 489.4 kB / 364.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.1103, allocations: 67.64 kB / 364.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.1103, allocations: 4.281 kB / 364.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1104, allocations: 35.84 kB / 364.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.1111, allocations: 359.2 kB / 365 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1112, allocations: 3.984 kB / 365 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000966/0.1121, allocations: 0.5498 MB / 365.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.1122, allocations: 7.984 kB / 365.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.1122, allocations: 27.86 kB / 365.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.113, allocations: 459.1 kB / 366.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.113, allocations: 0 / 366.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.113, allocations: 3.938 kB / 366.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.113, allocations: 0 / 366.1 MB, free: 6.301 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.0005684/0.1136, allocations: 439.1 kB / 366.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1136, allocations: 12.03 kB / 366.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.1137, allocations: 4.922 kB / 366.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1139, allocations: 188.2 kB / 366.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1139, allocations: 8.375 kB / 366.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1139, allocations: 7.938 kB / 366.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1141, allocations: 59.39 kB / 366.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1141, allocations: 3.938 kB / 366.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1141, allocations: 0 / 366.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1141, allocations: 0 / 366.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.1142, allocations: 19.98 kB / 366.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.1144, allocations: 178.5 kB / 367 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1147, allocations: 85.06 kB / 367.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.1148, allocations: 17.78 kB / 367.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.116, allocations: 1.54 MB / 368.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.116, allocations: 34.56 kB / 368.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.116, allocations: 0 / 368.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002998/0.1163, allocations: 85.88 kB / 368.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1164, allocations: 77.11 kB / 368.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.1165, allocations: 113.8 kB / 368.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1165, allocations: 25.7 kB / 369 MB, free: 2.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.1166, allocations: 92.14 kB / 369 MB, free: 2.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1166, allocations: 15.7 kB / 369.1 MB, free: 2.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1167, allocations: 25.72 kB / 369.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1168, allocations: 318.8 kB / 369.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.1169, allocations: 15.98 kB / 369.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.117, allocations: 43.41 kB / 369.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1172, allocations: 63.34 kB / 369.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1172, allocations: 0 / 369.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002025/0.1174, allocations: 89.39 kB / 369.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1174, allocations: 4 kB / 369.6 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1174, allocations: 4 kB / 369.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1174, allocations: 64 / 369.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.1175, allocations: 19.98 kB / 369.6 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1175, allocations: 8.406 kB / 369.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1176, allocations: 7.938 kB / 369.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1176, allocations: 7.984 kB / 369.7 MB, free: 2.105 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.977e-05/0.1177, allocations: 113.8 kB / 369.8 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.1177, allocations: 3.938 kB / 369.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.1181, allocations: 128.6 kB / 369.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1181, allocations: 0 / 369.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1181, allocations: 4 kB / 369.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1181, allocations: 0 / 369.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1183, allocations: 173.6 kB / 370.1 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1183, allocations: 0 / 370.1 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.1184, allocations: 19.92 kB / 370.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1184, allocations: 0 / 370.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1184, allocations: 4 kB / 370.1 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1184, allocations: 4 kB / 370.1 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1184, allocations: 0 / 370.1 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.1187, allocations: 149.8 kB / 370.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.1188, allocations: 77.11 kB / 370.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1188, allocations: 8.016 kB / 370.3 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.1189, allocations: 8.062 kB / 370.3 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1189, allocations: 4 kB / 370.3 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1189, allocations: 11.92 kB / 370.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.119, allocations: 87.28 kB / 370.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.119, allocations: 0 / 370.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.1194, allocations: 131.8 kB / 370.6 MB, free: 1.094 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.0006415/0.1201, allocations: 301.7 kB / 370.9 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.1203, allocations: 51.91 kB / 370.9 MB, free: 0.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1203, allocations: 0 / 370.9 MB, free: 0.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.1204, allocations: 31.92 kB / 370.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.1206, allocations: 20.23 kB / 371 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.1212, allocations: 312.2 kB / 371.3 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1474/0.2685, allocations: 0.6844 MB / 371.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.2687, allocations: 20.97 kB / 372 MB, free: 19.84 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2687, allocations: 0 / 372 MB, free: 19.84 MB / 302.1 MB Notification: Performance of Templates: time 0.006488/0.2752, allocations: 2.915 MB / 374.9 MB, free: 19.54 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)