Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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 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.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.008444/0.008444, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001897/0.001897, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001087/0.001087, allocations: 49.45 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.08326, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002232/0.08554, allocations: 1.338 MB / 374.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008152/0.09371, allocations: 7.148 MB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.09378, allocations: 0 / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.09385, allocations: 7.938 kB / 381.7 MB, free: 8.77 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.0009901/0.09484, allocations: 271 kB / 381.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.09631, allocations: 0.6852 MB / 382.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.09645, allocations: 59.67 kB / 382.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.09649, allocations: 7.938 kB / 382.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.09662, allocations: 31.91 kB / 382.7 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.09734, allocations: 375.2 kB / 383.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.09736, allocations: 0 / 383.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.09857, allocations: 0.7993 MB / 383.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.0986, allocations: 8 kB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.09864, allocations: 31.84 kB / 383.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007941/0.09944, allocations: 0.5533 MB / 384.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09946, allocations: 0 / 384.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09946, allocations: 0 / 384.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.09947, allocations: 0 / 384.5 MB, free: 5.957 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005236/0.1, allocations: 474.1 kB / 384.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1, allocations: 11.89 kB / 384.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.1001, allocations: 8.891 kB / 384.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1003, allocations: 188.3 kB / 385.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1003, allocations: 4.375 kB / 385.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1003, allocations: 4.375 kB / 385.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1005, allocations: 71.45 kB / 385.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1005, allocations: 0 / 385.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1005, allocations: 4 kB / 385.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1005, allocations: 0 / 385.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.1006, allocations: 23.95 kB / 385.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1008, allocations: 178.5 kB / 385.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1011, allocations: 77.17 kB / 385.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.1011, allocations: 25.77 kB / 385.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009787/0.1021, allocations: 1.544 MB / 387.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1022, allocations: 42.44 kB / 387.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1022, allocations: 0 / 387.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002909/0.1025, allocations: 77.59 kB / 387.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1025, allocations: 81.11 kB / 387.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.1026, allocations: 117.8 kB / 387.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1027, allocations: 33.7 kB / 387.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.1027, allocations: 80.14 kB / 387.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1028, allocations: 27.78 kB / 387.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1028, allocations: 17.72 kB / 387.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1029, allocations: 322.8 kB / 387.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/0.103, allocations: 8 kB / 387.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.103, allocations: 39.42 kB / 387.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1032, allocations: 63.28 kB / 387.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1032, allocations: 0 / 387.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000186/0.1034, allocations: 89.5 kB / 388 MB, free: 1.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1034, allocations: 8.062 kB / 388 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1034, allocations: 4 kB / 388 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1035, allocations: 0 / 388 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.1035, allocations: 23.92 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1035, allocations: 0 / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1036, allocations: 4 kB / 388.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1036, allocations: 0 / 388.1 MB, free: 1.723 MB / 318.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 7.685e-05/0.1037, allocations: 113.8 kB / 388.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1037, allocations: 16.34 kB / 388.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.1041, allocations: 125.4 kB / 388.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1041, allocations: 0 / 388.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1041, allocations: 4 kB / 388.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1041, allocations: 0 / 388.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.1043, allocations: 181.5 kB / 388.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1043, allocations: 0 / 388.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.1044, allocations: 15.94 kB / 388.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1044, allocations: 11.98 kB / 388.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1044, allocations: 4 kB / 388.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1044, allocations: 0 / 388.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1044, allocations: 0 / 388.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1047, allocations: 133.9 kB / 388.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1048, allocations: 97.02 kB / 388.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1048, allocations: 4.062 kB / 388.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.1049, allocations: 7.984 kB / 388.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.1049, allocations: 0 / 388.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1049, allocations: 4 kB / 388.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.105, allocations: 91.27 kB / 388.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.105, allocations: 0 / 388.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000446/0.1054, allocations: 175.4 kB / 389 MB, free: 0.6484 MB / 318.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.0007356/0.1062, allocations: 374.2 kB / 389.4 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1064, allocations: 47.91 kB / 389.4 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1064, allocations: 0 / 389.4 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.1065, allocations: 27.92 kB / 389.5 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.1067, allocations: 19.86 kB / 389.5 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.1072, allocations: 298.5 kB / 389.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.1074, allocations: 0.6884 MB / 390.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.751e-05/0.1075, allocations: 27.97 kB / 390.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.1075, allocations: 23.36 kB / 390.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1075, allocations: 0 / 390.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Templates: time 0.006885/0.1144, allocations: 3.726 MB / 394.3 MB, free: 11.37 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)