Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 114.2 kB / 20.22 MB, free: 1.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002208/0.002208, allocations: 209.9 kB / 23.48 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.4 MB / 257 MB, free: 8.258 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 67.89 kB / 377.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2567, allocations: 53.31 MB / 430.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002697/0.2594, allocations: 1.379 MB / 431.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.2653, allocations: 4.095 MB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.2654, allocations: 0 / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.2654, allocations: 3.984 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2666, allocations: 278.9 kB / 436.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2679, allocations: 0.4927 MB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.268, allocations: 59.66 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.268, allocations: 3.797 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2681, allocations: 39.84 kB / 436.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008123/0.2689, allocations: 367.3 kB / 437.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.269, allocations: 4 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.2702, allocations: 0.6231 MB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.2702, allocations: 7.922 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.2703, allocations: 27.81 kB / 437.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.2712, allocations: 459.5 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2712, allocations: 0 / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2712, allocations: 4 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2712, allocations: 0 / 438.2 MB, free: 15.4 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.0006423/0.2719, allocations: 446.4 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2719, allocations: 8.031 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.272, allocations: 38.75 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.272, allocations: 4.891 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2722, allocations: 184.3 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2722, allocations: 12.06 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.2723, allocations: 0 / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2724, allocations: 71.39 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2724, allocations: 0 / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2724, allocations: 0 / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2724, allocations: 0 / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.864e-05/0.2725, allocations: 23.91 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.2728, allocations: 170.6 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.2731, allocations: 81.19 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.2731, allocations: 25.7 kB / 439.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.2743, allocations: 1.54 MB / 440.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2743, allocations: 38.56 kB / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2743, allocations: 0 / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000297/0.2746, allocations: 85.55 kB / 440.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.2747, allocations: 77.11 kB / 441 MB, free: 12.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2748, allocations: 117.8 kB / 441.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2748, allocations: 29.69 kB / 441.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.2748, allocations: 84.14 kB / 441.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.2749, allocations: 27.8 kB / 441.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.2749, allocations: 21.7 kB / 441.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.275, allocations: 318.8 kB / 441.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.2751, allocations: 11.98 kB / 441.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.2752, allocations: 35.42 kB / 441.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.2753, allocations: 59.36 kB / 441.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2753, allocations: 7.938 kB / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001958/0.2755, allocations: 89.48 kB / 441.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2755, allocations: 14.91 kB / 441.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2755, allocations: 0 / 441.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2755, allocations: 0 / 441.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.2756, allocations: 16.06 kB / 441.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2756, allocations: 7.938 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.2757, allocations: 7.984 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2757, allocations: 0 / 441.8 MB, free: 11.16 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.472e-05/0.2758, allocations: 117.8 kB / 441.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.2758, allocations: 8.422 kB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.2762, allocations: 125 kB / 442 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.2762, allocations: 4.031 kB / 442 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2762, allocations: 4 kB / 442.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2762, allocations: 3.984 kB / 442.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.2763, allocations: 169.6 kB / 442.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2763, allocations: 0 / 442.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.2764, allocations: 11.98 kB / 442.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2764, allocations: 4 kB / 442.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2764, allocations: 4 kB / 442.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2764, allocations: 4 kB / 442.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2764, allocations: 4 kB / 442.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.2767, allocations: 149.8 kB / 442.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.2768, allocations: 93.08 kB / 442.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2768, allocations: 0 / 442.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.2769, allocations: 4 kB / 442.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.2769, allocations: 8.047 kB / 442.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2769, allocations: 4 kB / 442.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.277, allocations: 91.27 kB / 442.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.277, allocations: 0 / 442.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.2774, allocations: 135.5 kB / 442.7 MB, free: 10.13 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.001154/0.2786, allocations: 0.8641 MB / 443.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.2788, allocations: 47.91 kB / 443.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2788, allocations: 0 / 443.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.2789, allocations: 23.98 kB / 443.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2791, allocations: 12.8 kB / 443.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2809, allocations: 1.533 MB / 445.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2812, allocations: 0.6846 MB / 445.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.927e-05/0.2813, allocations: 31.53 kB / 445.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.2813, allocations: 23.42 kB / 445.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2813, allocations: 0 / 445.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.3117, allocations: 4.421 MB / 450.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.355, allocations: 7.25 kB / 450.4 MB, free: 2.453 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.559364720946178] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.424616283038631 8.441793797 8.167306704 Calling exit ...