Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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.00173/0.00173, 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.002228/0.002228, 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.482/1.482, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",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.002039/0.002039, allocations: 75.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1057, allocations: 53.33 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2362/0.3418, allocations: 26.74 MB / 453.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.3452, allocations: 2.25 MB / 456 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3453, allocations: 1.344 kB / 456 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3458, allocations: 66.58 kB / 456.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005294/0.3463, allocations: 173.1 kB / 456.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02089/0.3672, allocations: 6.538 MB / 462.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.3678, allocations: 334.3 kB / 463.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.3678, allocations: 7.062 kB / 463.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.3681, allocations: 156.2 kB / 463.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.3684, allocations: 132.4 kB / 463.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.3684, allocations: 15.75 kB / 463.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01975/0.3882, allocations: 9.657 MB / 473.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.3883, allocations: 75.09 kB / 473.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3886, allocations: 106 kB / 473.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.4029, allocations: 4.74 MB / 478 MB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.403, allocations: 0 / 478 MB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.403, allocations: 0 / 478 MB, free: 13.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.403, allocations: 0 / 478 MB, free: 13.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.004436/0.4074, allocations: 1.177 MB / 479.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.4075, allocations: 12.02 kB / 479.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.4075, allocations: 58.67 kB / 479.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.4077, allocations: 28.22 kB / 479.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.408, allocations: 218.8 kB / 479.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4081, allocations: 12.33 kB / 479.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.4081, allocations: 23.94 kB / 479.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.4089, allocations: 281.4 kB / 479.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4089, allocations: 0 / 479.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.409, allocations: 16 kB / 479.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.409, allocations: 9.938 kB / 479.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.4098, allocations: 308.5 kB / 480.1 MB, free: 11.75 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.4114, allocations: 0.8323 MB / 480.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/0.4122, allocations: 242.7 kB / 481.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.4126, allocations: 121.6 kB / 481.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01813/0.4307, allocations: 12.83 MB / 494.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.4308, allocations: 42.56 kB / 494.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.575e-06/0.4308, allocations: 0 / 494.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00315/0.4339, allocations: 0.7083 MB / 494.9 MB, free: 10.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.434, allocations: 81.11 kB / 495 MB, free: 10.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4341, allocations: 156.2 kB / 495.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.4342, allocations: 29.7 kB / 495.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.4343, allocations: 112.9 kB / 495.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.4344, allocations: 134.8 kB / 495.4 MB, free: 9.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.4345, allocations: 69.67 kB / 495.4 MB, free: 9.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4347, allocations: 330.8 kB / 495.8 MB, free: 9.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.4351, allocations: 135.9 kB / 495.9 MB, free: 9.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.4357, allocations: 211.5 kB / 496.1 MB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009987/0.4367, allocations: 360.8 kB / 496.5 MB, free: 8.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4367, allocations: 0 / 496.5 MB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001281/0.4379, allocations: 421.1 kB / 496.9 MB, free: 8.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.438, allocations: 8 kB / 496.9 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.438, allocations: 0 / 496.9 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.438, allocations: 11.92 kB / 496.9 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.4385, allocations: 96.03 kB / 497 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4385, allocations: 4 kB / 497 MB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.4388, allocations: 20.98 kB / 497 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.4389, allocations: 19.98 kB / 497 MB, free: 8.082 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0002003/0.4391, allocations: 149.6 kB / 497.2 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.4392, allocations: 23.86 kB / 497.2 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005391/0.4398, allocations: 194.5 kB / 497.4 MB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4398, allocations: 4 kB / 497.4 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4398, allocations: 0 / 497.4 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4398, allocations: 0 / 497.4 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.4418, allocations: 0.7798 MB / 498.2 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4418, allocations: 4 kB / 498.2 MB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.4422, allocations: 80.44 kB / 498.3 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.4422, allocations: 5.406 kB / 498.3 MB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.4423, allocations: 11.98 kB / 498.3 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4423, allocations: 4 kB / 498.3 MB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.4423, allocations: 8.812 kB / 498.3 MB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.4441, allocations: 0.7181 MB / 499 MB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.4442, allocations: 124.9 kB / 499.1 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.4443, allocations: 8 kB / 499.1 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.4447, allocations: 24.03 kB / 499.2 MB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.4447, allocations: 35.84 kB / 499.2 MB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.4448, allocations: 12 kB / 499.2 MB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4449, allocations: 116.2 kB / 499.3 MB, free: 5.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4449, allocations: 0 / 499.3 MB, free: 5.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004199/0.4491, allocations: 0.9628 MB / 0.4886 GB, free: 4.699 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (37): * Single equations (assignments): 37 * 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.008204/0.4573, allocations: 2.421 MB / 0.4909 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.4586, allocations: 342.3 kB / 0.4912 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4586, allocations: 0 / 0.4912 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.4591, allocations: 171.6 kB / 0.4914 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.46, allocations: 98.47 kB / 0.4915 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/0.4675, allocations: 3.249 MB / 0.4947 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4679, allocations: 0.7374 MB / 0.4954 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003709/0.4683, allocations: 89.05 kB / 0.4955 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.4685, allocations: 75.41 kB / 0.4956 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4685, allocations: 0 / 0.4956 GB, free: 13.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/0.5398, allocations: 33.11 MB / 0.5279 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.799/10.34, allocations: 7.688 kB / 0.5279 GB, free: 12.34 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.928017073310912] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 10.431511079892516 10.46026062 10.05125693 Calling exit ...