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.001765/0.001765, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.002257/0.002257, allocations: 218 kB / 24.52 MB, free: 3.91 MB / 14.72 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 1.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 43.92 kB / 378.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2538, allocations: 53.36 MB / 431.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002414/0.2562, allocations: 1.358 MB / 433.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005722/0.262, allocations: 3.725 MB / 436.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.262, allocations: 0 / 436.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.262, allocations: 7.922 kB / 436.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.2631, allocations: 298.9 kB / 437.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.2643, allocations: 0.5132 MB / 437.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.2644, allocations: 55.72 kB / 437.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.2645, allocations: 4 kB / 437.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2646, allocations: 43.84 kB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.2653, allocations: 371.2 kB / 438.2 MB, free: 280 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2653, allocations: 0 / 438.2 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009264/0.2662, allocations: 0.5576 MB / 438.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.2663, allocations: 7.984 kB / 438.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.2663, allocations: 19.92 kB / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.267, allocations: 429.2 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.267, allocations: 3.938 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.267, allocations: 4 kB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.267, allocations: 0 / 439.2 MB, free: 15.26 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.0005454/0.2675, allocations: 373.2 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2676, allocations: 12.03 kB / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.837e-05/0.2676, allocations: 192 / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.2676, allocations: 38.75 kB / 439.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.2676, allocations: 4.938 kB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.2678, allocations: 126.5 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2678, allocations: 3.938 kB / 439.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.2679, allocations: 4 kB / 439.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.268, allocations: 67.33 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.268, allocations: 3.984 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.268, allocations: 0 / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.268, allocations: 0 / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.2681, allocations: 23.98 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.2683, allocations: 145.5 kB / 440 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.2686, allocations: 77.22 kB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.2687, allocations: 25.77 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.269, allocations: 123.9 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.269, allocations: 34.5 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.269, allocations: 4 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002923/0.2693, allocations: 85.55 kB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2694, allocations: 81.11 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.2695, allocations: 109.8 kB / 440.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2695, allocations: 33.64 kB / 440.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.2696, allocations: 80.14 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.2696, allocations: 27.78 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.2696, allocations: 17.72 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2698, allocations: 322.8 kB / 441 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.2699, allocations: 12 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.2699, allocations: 39.42 kB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2701, allocations: 71.28 kB / 441.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2701, allocations: 0 / 441.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001877/0.2703, allocations: 82.03 kB / 441.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2703, allocations: 4 kB / 441.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2703, allocations: 4 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2703, allocations: 0 / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.2704, allocations: 19.92 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2704, allocations: 4.062 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.2704, allocations: 4 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2704, allocations: 4 kB / 441.2 MB, free: 12.99 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 8.389e-05/0.2705, allocations: 117.8 kB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.2705, allocations: 11.92 kB / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.2709, allocations: 119.9 kB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2709, allocations: 0 / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2709, allocations: 8 kB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2709, allocations: 0 / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.271, allocations: 148.7 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2711, allocations: 0 / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.2711, allocations: 19.92 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2711, allocations: 0 / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.2711, allocations: 0 / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2711, allocations: 0 / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2711, allocations: 4 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.2714, allocations: 145.8 kB / 441.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.2715, allocations: 23.84 kB / 441.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.2715, allocations: 4 kB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.2715, allocations: 0 / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.2716, allocations: 15.92 kB / 441.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2716, allocations: 4 kB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.688e-05/0.2717, allocations: 91.81 kB / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2717, allocations: 0 / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.2721, allocations: 131.5 kB / 442.1 MB, free: 12.09 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.001026/0.2731, allocations: 0.8513 MB / 442.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.2733, allocations: 52.05 kB / 443 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2733, allocations: 0 / 443 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.2734, allocations: 27.92 kB / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.2736, allocations: 18.56 kB / 443 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.2754, allocations: 1.523 MB / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.2755, allocations: 71.34 kB / 444.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.2756, allocations: 33.92 kB / 444.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.2756, allocations: 31.36 kB / 444.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2756, allocations: 0 / 444.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.3023, allocations: 4.601 MB / 449.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.01, allocations: 12.06 kB / 449.3 MB, free: 4.891 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.483001132961363] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.170990701997653 11.195837422 10.923727376 Calling exit ...