Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008162/0.0008162, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003405/0.003405, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8534/0.8534, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.121e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002186/0.002207, allocations: 1.361 MB / 327.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.007362, allocations: 3.741 MB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.007398, allocations: 0 / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.007426, allocations: 11.92 kB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.00855, allocations: 298.7 kB / 331.2 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.009665, allocations: 0.5249 MB / 331.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.009765, allocations: 59.66 kB / 331.8 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.009806, allocations: 7.984 kB / 331.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.00995, allocations: 43.84 kB / 331.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.01063, allocations: 371.2 kB / 332.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.01064, allocations: 0 / 332.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/0.01152, allocations: 0.5378 MB / 332.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.01154, allocations: 11.92 kB / 332.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.01157, allocations: 15.98 kB / 332.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.01229, allocations: 490.7 kB / 333.3 MB, free: 7.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.0123, allocations: 3.938 kB / 333.3 MB, free: 7.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0123, allocations: 0 / 333.3 MB, free: 7.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.0123, allocations: 0 / 333.3 MB, free: 7.957 MB / 298.7 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.0005327/0.01284, allocations: 365.4 kB / 333.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01287, allocations: 8.031 kB / 333.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.01292, allocations: 8.891 kB / 333.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.01312, allocations: 133.6 kB / 333.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.01314, allocations: 384 / 333.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.01316, allocations: 4.375 kB / 333.8 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.01331, allocations: 75.58 kB / 333.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.01332, allocations: 0 / 333.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.01333, allocations: 3.938 kB / 333.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.01333, allocations: 4 kB / 333.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.225e-05/0.01341, allocations: 19.98 kB / 333.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.01357, allocations: 114.2 kB / 334 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.01387, allocations: 81.28 kB / 334.1 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.01393, allocations: 25.7 kB / 334.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.01427, allocations: 119.9 kB / 334.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.01429, allocations: 38.55 kB / 334.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.01429, allocations: 0 / 334.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000281/0.01458, allocations: 93.48 kB / 334.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.01462, allocations: 77.11 kB / 334.4 MB, free: 6.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.01471, allocations: 109.8 kB / 334.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.01472, allocations: 25.7 kB / 334.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.01476, allocations: 92.08 kB / 334.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.01479, allocations: 19.8 kB / 334.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.01484, allocations: 25.7 kB / 334.7 MB, free: 6.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01495, allocations: 310.8 kB / 335 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.01501, allocations: 15.98 kB / 335 MB, free: 6.031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.01508, allocations: 43.42 kB / 335 MB, free: 5.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.01519, allocations: 59.72 kB / 335.1 MB, free: 5.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.01519, allocations: 4 kB / 335.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000173/0.01537, allocations: 81.55 kB / 335.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01538, allocations: 8 kB / 335.2 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01539, allocations: 3.938 kB / 335.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.0154, allocations: 0 / 335.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.01547, allocations: 28.05 kB / 335.2 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01547, allocations: 3.938 kB / 335.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.01551, allocations: 8 kB / 335.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.01552, allocations: 0 / 335.2 MB, free: 5.766 MB / 298.7 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 6.965e-05/0.01559, allocations: 113.8 kB / 335.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.01561, allocations: 4 kB / 335.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.01592, allocations: 133 kB / 335.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.01593, allocations: 0 / 335.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01593, allocations: 4 kB / 335.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.01594, allocations: 7.938 kB / 335.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.01604, allocations: 117.3 kB / 335.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01605, allocations: 0 / 335.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.01612, allocations: 12 kB / 335.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01612, allocations: 3.938 kB / 335.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01614, allocations: 7.984 kB / 335.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01614, allocations: 3.938 kB / 335.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01614, allocations: 0 / 335.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.0164, allocations: 145.9 kB / 335.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.01643, allocations: 15.94 kB / 335.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01645, allocations: 0 / 335.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.01649, allocations: 3.938 kB / 335.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.01653, allocations: 7.984 kB / 335.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01654, allocations: 8 kB / 335.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.01659, allocations: 87.27 kB / 335.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01659, allocations: 3.938 kB / 335.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.017, allocations: 139.5 kB / 336 MB, free: 4.902 MB / 298.7 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.0004806/0.01748, allocations: 290.8 kB / 336.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.01767, allocations: 55.91 kB / 336.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01767, allocations: 0 / 336.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.01773, allocations: 23.98 kB / 336.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.01788, allocations: 12.77 kB / 336.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.01824, allocations: 263.7 kB / 336.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.01829, allocations: 71.33 kB / 336.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.01832, allocations: 28.42 kB / 336.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.01832, allocations: 0 / 336.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Templates: time 0.003518/0.02184, allocations: 2.982 MB / 339.7 MB, free: 1.145 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.387727811932564] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.030198391526937485 0.036720995 0.022745862000000002 Calling exit ...