Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.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.001479/0.001479, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001443/0.001443, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.54/1.54, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.IdealGasH2O,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O",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.002148/0.002148, allocations: 75.83 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1032, allocations: 53.32 MB / 427 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4132/0.5164, allocations: 152.6 MB / 0.566 GB, free: 7.719 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.5195, allocations: 2.555 MB / 0.5685 GB, free: 5.16 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.5196, allocations: 0 / 0.5685 GB, free: 5.16 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.5198, allocations: 27.81 kB / 0.5686 GB, free: 5.133 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.5208, allocations: 341.2 kB / 0.5689 GB, free: 4.801 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.521, allocations: 67.72 kB / 0.569 GB, free: 4.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.5212, allocations: 103.3 kB / 0.5691 GB, free: 4.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.5213, allocations: 5.5 kB / 0.5691 GB, free: 4.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.5214, allocations: 39.84 kB / 0.5691 GB, free: 4.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.5215, allocations: 43.73 kB / 0.5691 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.5215, allocations: 4 kB / 0.5691 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007767/0.5222, allocations: 371.5 kB / 0.5695 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.5223, allocations: 11.94 kB / 0.5695 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.5223, allocations: 39.78 kB / 0.5695 GB, free: 4.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.5229, allocations: 315.6 kB / 0.5698 GB, free: 3.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5229, allocations: 0 / 0.5698 GB, free: 3.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5229, allocations: 0 / 0.5698 GB, free: 3.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.5229, allocations: 0 / 0.5698 GB, free: 3.824 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009945/0.5239, allocations: 466.7 kB / 0.5703 GB, free: 3.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5239, allocations: 12.03 kB / 0.5703 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.524, allocations: 34.75 kB / 0.5703 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006666/0.5307, allocations: 464.2 kB / 0.5708 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.5308, allocations: 185 kB / 0.571 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.5309, allocations: 5.406 kB / 0.571 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.967e-05/0.531, allocations: 12 kB / 0.571 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.5318, allocations: 293.3 kB / 0.5713 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5318, allocations: 0 / 0.5713 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.5318, allocations: 4 kB / 0.5713 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5318, allocations: 0 / 0.5713 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.5327, allocations: 280.4 kB / 0.5715 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.5331, allocations: 257.3 kB / 0.5718 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.5335, allocations: 150.8 kB / 0.5719 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.5337, allocations: 80.81 kB / 0.572 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.5338, allocations: 0 / 0.572 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.5338, allocations: 34.56 kB / 0.572 GB, free: 1.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.5338, allocations: 0 / 0.572 GB, free: 1.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002364/0.5362, allocations: 0.5889 MB / 0.5726 GB, free: 0.832 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.5362, allocations: 55.41 kB / 0.5727 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.5363, allocations: 108.6 kB / 0.5728 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.5364, allocations: 29.7 kB / 0.5728 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.5364, allocations: 88.58 kB / 0.5729 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.5365, allocations: 79.27 kB / 0.5729 GB, free: 460 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.5366, allocations: 45.69 kB / 0.573 GB, free: 408 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5368, allocations: 326.8 kB / 0.5733 GB, free: 72 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.5371, allocations: 100 kB / 0.5734 GB, free: 15.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.5374, allocations: 95.94 kB / 0.5735 GB, free: 15.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.5381, allocations: 231.9 kB / 0.5737 GB, free: 15.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5381, allocations: 0 / 0.5737 GB, free: 15.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000799/0.5389, allocations: 289.3 kB / 0.574 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5389, allocations: 4 kB / 0.574 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5389, allocations: 0 / 0.574 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5389, allocations: 11.94 kB / 0.574 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.5394, allocations: 55.94 kB / 0.5741 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5394, allocations: 5.344 kB / 0.5741 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.5397, allocations: 11.98 kB / 0.5741 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.5397, allocations: 15.98 kB / 0.5741 GB, free: 15.26 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001356/0.5399, allocations: 117.8 kB / 0.5742 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.5399, allocations: 11.95 kB / 0.5742 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.5409, allocations: 350.2 kB / 0.5745 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5409, allocations: 11.88 kB / 0.5746 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5409, allocations: 0 / 0.5746 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5409, allocations: 0 / 0.5746 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.5426, allocations: 0.7275 MB / 0.5753 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5426, allocations: 0 / 0.5753 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.543, allocations: 59.95 kB / 0.5753 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.543, allocations: 4.156 kB / 0.5753 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.5431, allocations: 7.984 kB / 0.5753 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.5431, allocations: 11.88 kB / 0.5753 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.5431, allocations: 0 / 0.5753 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.5439, allocations: 408.9 kB / 0.5757 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.544, allocations: 93.02 kB / 0.5758 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.544, allocations: 7.984 kB / 0.5758 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.5444, allocations: 19.98 kB / 0.5758 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.5444, allocations: 23.86 kB / 0.5759 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.5444, allocations: 15.98 kB / 0.5759 GB, free: 13.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.5445, allocations: 83.28 kB / 0.576 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5445, allocations: 0 / 0.576 GB, free: 13.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.5448, allocations: 56 kB / 0.576 GB, free: 13.15 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001367/0.5462, allocations: 0.9682 MB / 0.577 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.547, allocations: 247.6 kB / 0.5772 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.547, allocations: 0 / 0.5772 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.5473, allocations: 125.1 kB / 0.5773 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.5479, allocations: 63.31 kB / 0.5774 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.5516, allocations: 2.112 MB / 0.5794 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.5519, allocations: 0.7086 MB / 0.5801 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.5522, allocations: 58.39 kB / 0.5802 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.5524, allocations: 55.33 kB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5524, allocations: 0 / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.5836, allocations: 5.627 MB / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.618, allocations: 4 kB / 0.5857 GB, free: 3.141 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.146275787148625] Failed to read output from testmodel.py, exit status != 0: ['time', 'smoothState.p', 'der_p', 'der_T'] 8.689753116108477 8.710073971 8.183059283 Calling exit ...