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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 120.5 kB / 18.41 MB, free: 4.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 190.7 kB / 21.34 MB, free: 1.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 247.1 MB, free: 4.352 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 51.92 kB / 358.7 MB, free: 8.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 49.45 MB / 408.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002408/0.1053, allocations: 1.349 MB / 409.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00549/0.1108, allocations: 3.984 MB / 413.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.1109, allocations: 0 / 413.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.1109, allocations: 7.922 kB / 413.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.1121, allocations: 279 kB / 413.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1133, allocations: 498.1 kB / 414.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1134, allocations: 55.67 kB / 414.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.1135, allocations: 4 kB / 414.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1136, allocations: 39.84 kB / 414.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.1143, allocations: 363.2 kB / 414.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1144, allocations: 0 / 414.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1155, allocations: 0.5889 MB / 415.2 MB, free: 16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1155, allocations: 11.92 kB / 415.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.1156, allocations: 23.88 kB / 415.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007652/0.1163, allocations: 458.8 kB / 415.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1164, allocations: 0 / 415.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1164, allocations: 0 / 415.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1164, allocations: 0 / 415.7 MB, free: 15.52 MB / 350.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.0006526/0.117, allocations: 446.4 kB / 416.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1171, allocations: 16.02 kB / 416.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1171, allocations: 4.891 kB / 416.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1174, allocations: 188.3 kB / 416.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1174, allocations: 4.312 kB / 416.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1174, allocations: 11.89 kB / 416.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1176, allocations: 63.39 kB / 416.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1176, allocations: 0 / 416.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1176, allocations: 0 / 416.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1177, allocations: 0 / 416.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.289e-05/0.1178, allocations: 19.98 kB / 416.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.118, allocations: 174.5 kB / 416.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.1183, allocations: 81.12 kB / 416.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.1184, allocations: 21.78 kB / 416.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.1196, allocations: 1.548 MB / 418.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1196, allocations: 34.5 kB / 418.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.1196, allocations: 0 / 418.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003382/0.12, allocations: 85.91 kB / 418.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.1201, allocations: 81.05 kB / 418.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1202, allocations: 109.8 kB / 418.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1202, allocations: 33.7 kB / 418.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1203, allocations: 80.14 kB / 418.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.1203, allocations: 31.73 kB / 418.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1204, allocations: 21.72 kB / 418.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1206, allocations: 318.8 kB / 419.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.1206, allocations: 15.92 kB / 419.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.1207, allocations: 43.42 kB / 419.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1209, allocations: 55.36 kB / 419.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1209, allocations: 0 / 419.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002079/0.1211, allocations: 89.48 kB / 419.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1211, allocations: 4 kB / 419.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1211, allocations: 4.062 kB / 419.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1212, allocations: 4 kB / 419.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.1212, allocations: 15.98 kB / 419.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1213, allocations: 0 / 419.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1213, allocations: 7.953 kB / 419.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1213, allocations: 4 kB / 419.3 MB, free: 11.32 MB / 350.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 0.0001008/0.1214, allocations: 117.8 kB / 419.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.1215, allocations: 4 kB / 419.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.1219, allocations: 127.8 kB / 419.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.1219, allocations: 4 kB / 419.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1219, allocations: 0 / 419.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1219, allocations: 0 / 419.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1221, allocations: 177.5 kB / 419.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1221, allocations: 0 / 419.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.1222, allocations: 19.98 kB / 419.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1222, allocations: 4 kB / 419.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1222, allocations: 0 / 419.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1223, allocations: 4 kB / 419.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1223, allocations: 0 / 419.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1226, allocations: 141.8 kB / 419.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.1227, allocations: 93.06 kB / 420 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1227, allocations: 7.984 kB / 420 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.1227, allocations: 4.062 kB / 420 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1228, allocations: 4 kB / 420 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1228, allocations: 8.219 kB / 420 MB, free: 10.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.071e-05/0.1229, allocations: 87.81 kB / 420.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1229, allocations: 0 / 420.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.1234, allocations: 143.5 kB / 420.2 MB, free: 10.28 MB / 350.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.0006836/0.1241, allocations: 292.3 kB / 420.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.1243, allocations: 51.91 kB / 420.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1243, allocations: 0 / 420.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.1244, allocations: 32.2 kB / 420.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.1246, allocations: 11.94 kB / 420.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.1252, allocations: 319.8 kB / 420.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1255, allocations: 0.6885 MB / 421.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.1256, allocations: 23.42 kB / 421.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1256, allocations: 0 / 421.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Templates: time 0.005529/0.1311, allocations: 2.886 MB / 424.5 MB, free: 5.953 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.306896574096754] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.13828533701598644 0.308278553 0.18988429 Calling exit ...