Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.001253/0.001253, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001347/0.001347, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.437/1.437, allocations: 230.5 MB / 254.7 MB, free: 15 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.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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.002013/0.002013, allocations: 67.89 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002602/0.1052, allocations: 1.376 MB / 428.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3574/0.4625, allocations: 152 MB / 0.5667 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.4626, allocations: 0 / 0.5667 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.4626, allocations: 7.922 kB / 0.5667 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009457/0.4636, allocations: 241.7 kB / 0.5669 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.4647, allocations: 390.3 kB / 0.5673 GB, free: 6.508 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.4648, allocations: 63.7 kB / 0.5674 GB, free: 6.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.4649, allocations: 0 / 0.5674 GB, free: 6.445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.4649, allocations: 35.84 kB / 0.5674 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.465, allocations: 23.92 kB / 0.5674 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.465, allocations: 0 / 0.5674 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.4663, allocations: 0.6979 MB / 0.5681 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.4663, allocations: 11.98 kB / 0.5681 GB, free: 5.676 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.4664, allocations: 15.88 kB / 0.5681 GB, free: 5.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.4672, allocations: 0.4955 MB / 0.5686 GB, free: 5.168 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4672, allocations: 4 kB / 0.5686 GB, free: 5.164 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4672, allocations: 0 / 0.5686 GB, free: 5.164 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4672, allocations: 0 / 0.5686 GB, free: 5.164 MB / 478.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.0005714/0.4678, allocations: 434.5 kB / 0.569 GB, free: 4.691 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4678, allocations: 12.03 kB / 0.569 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.4678, allocations: 34.73 kB / 0.5691 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.4691, allocations: 104.8 kB / 0.5692 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.4694, allocations: 227.8 kB / 0.5694 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4695, allocations: 0 / 0.5694 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.4695, allocations: 5.594 kB / 0.5694 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.4697, allocations: 95.25 kB / 0.5695 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4697, allocations: 0 / 0.5695 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4698, allocations: 4 kB / 0.5695 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.4698, allocations: 4.562 kB / 0.5695 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.4699, allocations: 43.95 kB / 0.5695 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.4702, allocations: 206.9 kB / 0.5697 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.4707, allocations: 121.1 kB / 0.5698 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.4708, allocations: 37.75 kB / 0.5699 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/0.4716, allocations: 0.9862 MB / 0.5708 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4716, allocations: 34.5 kB / 0.5709 GB, free: 2.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4716, allocations: 0 / 0.5709 GB, free: 2.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005657/0.4721, allocations: 137.5 kB / 0.571 GB, free: 2.289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.4722, allocations: 81.11 kB / 0.5711 GB, free: 2.191 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4724, allocations: 161.7 kB / 0.5712 GB, free: 2.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4725, allocations: 25.7 kB / 0.5713 GB, free: 1.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.4725, allocations: 84.12 kB / 0.5713 GB, free: 1.906 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.4725, allocations: 27.45 kB / 0.5714 GB, free: 1.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.4726, allocations: 33.69 kB / 0.5714 GB, free: 1.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4727, allocations: 314.8 kB / 0.5717 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4728, allocations: 41.91 kB / 0.5717 GB, free: 1.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.473, allocations: 51.41 kB / 0.5718 GB, free: 1.426 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.4732, allocations: 83.7 kB / 0.5719 GB, free: 1.332 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4732, allocations: 4 kB / 0.5719 GB, free: 1.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003242/0.4735, allocations: 121.5 kB / 0.572 GB, free: 1.203 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4735, allocations: 8 kB / 0.572 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4735, allocations: 0 / 0.572 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4736, allocations: 0 / 0.572 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.4737, allocations: 31.91 kB / 0.572 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4737, allocations: 0 / 0.572 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.4739, allocations: 7.984 kB / 0.572 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.4739, allocations: 8.062 kB / 0.572 GB, free: 1.148 MB / 478.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 9.353e-05/0.474, allocations: 121.8 kB / 0.5722 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.474, allocations: 7.953 kB / 0.5722 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.4746, allocations: 241.2 kB / 0.5724 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4747, allocations: 0 / 0.5724 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4747, allocations: 1.562 kB / 0.5724 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4747, allocations: 0 / 0.5724 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.4749, allocations: 222.9 kB / 0.5726 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4749, allocations: 0 / 0.5726 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.475, allocations: 23.97 kB / 0.5726 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4751, allocations: 0 / 0.5726 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4751, allocations: 3.984 kB / 0.5726 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.4751, allocations: 0 / 0.5726 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4751, allocations: 4 kB / 0.5726 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4755, allocations: 177.8 kB / 0.5728 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.4756, allocations: 97.94 kB / 0.5729 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.4756, allocations: 0 / 0.5729 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4758, allocations: 7.938 kB / 0.5729 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4758, allocations: 12.05 kB / 0.5729 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4758, allocations: 8 kB / 0.5729 GB, free: 140 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.476, allocations: 135.8 kB / 0.5731 GB, free: 4 kB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.476, allocations: 0 / 0.5731 GB, free: 4 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.4765, allocations: 131.6 kB / 0.5732 GB, free: 15.88 MB / 494.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 (8): * Single equations (assignments): 7 * 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.001307/0.4778, allocations: 0.9266 MB / 0.5741 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.4781, allocations: 67.88 kB / 0.5742 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4781, allocations: 0 / 0.5742 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4782, allocations: 51.97 kB / 0.5742 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.4784, allocations: 10.81 kB / 0.5742 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.4811, allocations: 1.794 MB / 0.576 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4814, allocations: 0.6962 MB / 0.5767 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005557/0.4819, allocations: 431 kB / 0.5771 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4821, allocations: 54.58 kB / 0.5771 GB, free: 11.71 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4821, allocations: 4 kB / 0.5771 GB, free: 11.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.515, allocations: 6.665 MB / 0.5836 GB, free: 5.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.514, allocations: 20.81 kB / 0.5836 GB, free: 5.18 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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_Inverse_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.804403371643275] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.583702084142715 8.598073638 8.127906447 Calling exit ...