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.001543/0.001543, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001764/0.001764, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001903/0.001903, allocations: 68.77 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2619, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4529/0.7148, allocations: 152.7 MB / 0.5709 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.7171, allocations: 2.558 MB / 0.5734 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.7172, allocations: 0 / 0.5734 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.7173, allocations: 25.3 kB / 0.5734 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.7183, allocations: 338.7 kB / 0.5737 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.7185, allocations: 67.48 kB / 0.5738 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.7187, allocations: 104.9 kB / 0.5739 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.7187, allocations: 4.719 kB / 0.5739 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.7188, allocations: 49.08 kB / 0.5739 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.7189, allocations: 39.25 kB / 0.574 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7189, allocations: 2.781 kB / 0.574 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007064/0.7196, allocations: 374.4 kB / 0.5743 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.7197, allocations: 4.078 kB / 0.5743 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.7197, allocations: 43.28 kB / 0.5744 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.7202, allocations: 314.7 kB / 0.5747 GB, free: 12.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7202, allocations: 1.203 kB / 0.5747 GB, free: 12.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7202, allocations: 1.875 kB / 0.5747 GB, free: 12.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.7202, allocations: 0 / 0.5747 GB, free: 12.78 MB / 462.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.0009311/0.7211, allocations: 387.3 kB / 0.5751 GB, free: 12.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7212, allocations: 13.88 kB / 0.5751 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.7212, allocations: 47.3 kB / 0.5751 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/0.7269, allocations: 464.8 kB / 0.5756 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.727, allocations: 116.4 kB / 0.5757 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.727, allocations: 5.219 kB / 0.5757 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.7271, allocations: 12.92 kB / 0.5757 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.7278, allocations: 299.8 kB / 0.576 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7279, allocations: 2.781 kB / 0.576 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.7279, allocations: 3.312 kB / 0.576 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.7279, allocations: 3.312 kB / 0.576 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.7286, allocations: 274.2 kB / 0.5762 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.7289, allocations: 227.2 kB / 0.5765 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.7293, allocations: 152.5 kB / 0.5766 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.7295, allocations: 82 kB / 0.5767 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.7296, allocations: 6.516 kB / 0.5767 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.7296, allocations: 32.81 kB / 0.5767 GB, free: 11.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.7296, allocations: 0 / 0.5767 GB, free: 11.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002045/0.7316, allocations: 0.5844 MB / 0.5773 GB, free: 11.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.7317, allocations: 54.31 kB / 0.5773 GB, free: 11.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.7318, allocations: 107.3 kB / 0.5774 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.7318, allocations: 29.27 kB / 0.5775 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.7319, allocations: 92.36 kB / 0.5776 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.732, allocations: 84.88 kB / 0.5776 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.732, allocations: 45.59 kB / 0.5777 GB, free: 11.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.7322, allocations: 318.8 kB / 0.578 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.7325, allocations: 99.58 kB / 0.5781 GB, free: 11.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.7327, allocations: 108 kB / 0.5782 GB, free: 11.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.7333, allocations: 229.7 kB / 0.5784 GB, free: 11.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.7333, allocations: 2.531 kB / 0.5784 GB, free: 11.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000682/0.734, allocations: 287.2 kB / 0.5787 GB, free: 11.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.734, allocations: 5.625 kB / 0.5787 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.734, allocations: 2.438 kB / 0.5787 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.734, allocations: 3.938 kB / 0.5787 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.7344, allocations: 53.66 kB / 0.5787 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7345, allocations: 1.938 kB / 0.5787 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.7347, allocations: 19.58 kB / 0.5788 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.7348, allocations: 10.09 kB / 0.5788 GB, free: 11.17 MB / 462.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.0001263/0.7349, allocations: 121 kB / 0.5789 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.7349, allocations: 12.64 kB / 0.5789 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000853/0.7358, allocations: 354.1 kB / 0.5792 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.7358, allocations: 10.94 kB / 0.5793 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7358, allocations: 4 kB / 0.5793 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.7358, allocations: 0 / 0.5793 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.7373, allocations: 0.6915 MB / 0.5799 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7373, allocations: 2.094 kB / 0.5799 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.7377, allocations: 61.89 kB / 0.58 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.7377, allocations: 2.719 kB / 0.58 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.7377, allocations: 10.33 kB / 0.58 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7377, allocations: 3.031 kB / 0.58 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7377, allocations: 0 / 0.58 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.7385, allocations: 414.3 kB / 0.5804 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.7385, allocations: 15.84 kB / 0.5804 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.7385, allocations: 7.672 kB / 0.5804 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.7388, allocations: 15.45 kB / 0.5804 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.7389, allocations: 20.95 kB / 0.5805 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.7389, allocations: 19.38 kB / 0.5805 GB, free: 10.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.7389, allocations: 94.53 kB / 0.5806 GB, free: 10.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7389, allocations: 0 / 0.5806 GB, free: 10.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.7393, allocations: 55.59 kB / 0.5806 GB, free: 10.36 MB / 462.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.001192/0.7405, allocations: 0.968 MB / 0.5816 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007023/0.7412, allocations: 240.5 kB / 0.5818 GB, free: 9.617 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7412, allocations: 5.094 kB / 0.5818 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.7415, allocations: 126.5 kB / 0.5819 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.7421, allocations: 58.16 kB / 0.582 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.7455, allocations: 2.11 MB / 0.584 GB, free: 8.281 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.7458, allocations: 0.7071 MB / 0.5847 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.7462, allocations: 56.3 kB / 0.5848 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.7464, allocations: 53.25 kB / 0.5848 GB, free: 7.543 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7464, allocations: 0 / 0.5848 GB, free: 7.543 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.7773, allocations: 5.805 MB / 0.5905 GB, free: 4.621 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.806, allocations: 2.531 kB / 0.5905 GB, free: 4.621 MB / 462.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.279089032206684] Failed to read output from testmodel.py, exit status != 0: ['time', 'smoothState.p', 'der_p', 'der_T'] 8.88127599004656 8.903527353 8.178849959 Calling exit ...