Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001661/0.001661, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009858/0.0009859, allocations: 47.17 kB / 300.6 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09402, allocations: 49.45 MB / 350.1 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002695/0.09676, allocations: 1.418 MB / 351.5 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005065/0.1019, allocations: 4.062 MB / 355.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.1019, allocations: 4 kB / 355.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.102, allocations: 0 / 355.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000987/0.103, allocations: 243.2 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1042, allocations: 433 kB / 356.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.912e-05/0.1043, allocations: 59.67 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.1044, allocations: 7.984 kB / 356.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1045, allocations: 39.84 kB / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.1053, allocations: 407.1 kB / 356.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1053, allocations: 4 kB / 356.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.1063, allocations: 0.5459 MB / 357.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.1064, allocations: 11.98 kB / 357.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.1064, allocations: 23.8 kB / 357.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.1071, allocations: 319.7 kB / 357.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1071, allocations: 0 / 357.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1071, allocations: 0 / 357.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1071, allocations: 0 / 357.6 MB, free: 13.06 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.0006001/0.1077, allocations: 439.2 kB / 358 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1078, allocations: 12.03 kB / 358 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1078, allocations: 4.938 kB / 358 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.108, allocations: 188.2 kB / 358.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.108, allocations: 4.312 kB / 358.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1081, allocations: 7.938 kB / 358.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1082, allocations: 63.39 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.1082, allocations: 3.938 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1083, allocations: 4 kB / 358.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1083, allocations: 0 / 358.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.1084, allocations: 19.97 kB / 358.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1085, allocations: 166.6 kB / 358.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.1088, allocations: 93.05 kB / 358.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.1089, allocations: 25.77 kB / 358.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009676/0.1099, allocations: 1.536 MB / 360.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1099, allocations: 34.55 kB / 360.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1099, allocations: 0 / 360.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000295/0.1102, allocations: 89.5 kB / 360.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.1103, allocations: 77.11 kB / 360.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.1104, allocations: 113.8 kB / 360.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1104, allocations: 25.7 kB / 360.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.1105, allocations: 84.14 kB / 360.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1105, allocations: 27.64 kB / 360.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.1105, allocations: 25.66 kB / 360.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1107, allocations: 322.8 kB / 360.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.1107, allocations: 12 kB / 360.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.1108, allocations: 39.42 kB / 361 MB, free: 9.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1109, allocations: 55.36 kB / 361 MB, free: 9.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1109, allocations: 0 / 361 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001908/0.1111, allocations: 93.53 kB / 361.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1112, allocations: 4 kB / 361.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1112, allocations: 0 / 361.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1112, allocations: 4 kB / 361.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.1113, allocations: 15.98 kB / 361.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1113, allocations: 3.938 kB / 361.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.1113, allocations: 7.906 kB / 361.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1114, allocations: 4 kB / 361.2 MB, free: 8.875 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.152e-05/0.1114, allocations: 117.8 kB / 361.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1115, allocations: 4 kB / 361.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.1118, allocations: 117.3 kB / 361.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.1118, allocations: 7.938 kB / 361.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1119, allocations: 0 / 361.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1119, allocations: 8 kB / 361.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.112, allocations: 181.5 kB / 361.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.112, allocations: 3.984 kB / 361.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.1121, allocations: 15.94 kB / 361.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1121, allocations: 0 / 361.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1121, allocations: 7.984 kB / 361.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1122, allocations: 4 kB / 361.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1122, allocations: 0 / 361.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1125, allocations: 141.8 kB / 361.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1125, allocations: 89.12 kB / 361.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1126, allocations: 4 kB / 361.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.1126, allocations: 0 / 361.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1127, allocations: 7.984 kB / 361.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1127, allocations: 3.938 kB / 361.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.1127, allocations: 95.8 kB / 361.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1127, allocations: 4.062 kB / 362 MB, free: 7.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000427/0.1132, allocations: 127.9 kB / 362.1 MB, free: 7.852 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.0006948/0.1139, allocations: 302.8 kB / 362.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.1141, allocations: 47.91 kB / 362.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1141, allocations: 0 / 362.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.1142, allocations: 27.98 kB / 362.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1144, allocations: 18.47 kB / 362.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.1149, allocations: 322.1 kB / 362.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1152, allocations: 0.6887 MB / 363.5 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.1153, allocations: 27.36 kB / 363.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1153, allocations: 0 / 363.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of Templates: time 0.005198/0.1205, allocations: 2.871 MB / 366.4 MB, free: 3.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)