Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.001986/0.001986, allocations: 110.5 kB / 21.22 MB, free: 0.5156 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.002239/0.002239, allocations: 208 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 258.2 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2216/0.2216, allocations: 46.94 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002785/0.002785, allocations: 75.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3462, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.541/0.8871, allocations: 195 MB / 0.752 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007092/0.8942, allocations: 7.525 MB / 0.7593 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.8948, allocations: 28.69 kB / 0.7593 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.8959, allocations: 453.8 kB / 0.7598 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.9007, allocations: 2.425 MB / 0.7621 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005095/0.9058, allocations: 2.361 MB / 0.7644 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.9085, allocations: 2.227 MB / 0.7666 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.9092, allocations: 0.5118 MB / 0.7671 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.9136, allocations: 1.873 MB / 0.7689 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.9149, allocations: 0.9226 MB / 0.7698 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.915, allocations: 94.62 kB / 0.7699 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008408/0.9234, allocations: 5.46 MB / 0.7753 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000595/0.924, allocations: 442.9 kB / 0.7757 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007478/0.9248, allocations: 0.535 MB / 0.7762 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007298/0.9321, allocations: 3.847 MB / 0.78 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9321, allocations: 1 kB / 0.78 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9321, allocations: 0 / 0.78 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.9321, allocations: 0 / 0.78 GB, free: 1.137 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003777/0.9359, allocations: 1.697 MB / 0.7816 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.9359, allocations: 11.86 kB / 0.7816 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.9361, allocations: 130.1 kB / 0.7818 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.9364, allocations: 111.6 kB / 0.7819 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009225/0.9374, allocations: 0.5601 MB / 0.7824 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.9375, allocations: 171.1 kB / 0.7826 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.9376, allocations: 71.72 kB / 0.7826 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.9392, allocations: 1.156 MB / 0.7838 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.9392, allocations: 8.75 kB / 0.7838 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.9393, allocations: 35.67 kB / 0.7838 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.9394, allocations: 60.19 kB / 0.7839 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.941, allocations: 1.162 MB / 0.785 GB, free: 15.66 MB / 0.5762 GB 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.006408/0.9474, allocations: 4.931 MB / 0.7898 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.949, allocations: 0.7825 MB / 0.7906 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.9495, allocations: 407.9 kB / 0.791 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.9502, allocations: 216.9 kB / 0.7912 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.9502, allocations: 45.34 kB / 0.7912 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.635e-06/0.9502, allocations: 1.062 kB / 0.7912 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.0126/0.9628, allocations: 3.937 MB / 0.7951 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.9629, allocations: 118 kB / 0.7952 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.9637, allocations: 0.6617 MB / 0.7958 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.9639, allocations: 45.92 kB / 0.7959 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.9642, allocations: 387.9 kB / 0.7962 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/0.9645, allocations: 302.8 kB / 0.7965 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.9648, allocations: 198.4 kB / 0.7967 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002528/0.9651, allocations: 392.4 kB / 0.7971 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.9661, allocations: 496.4 kB / 0.7976 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.9673, allocations: 0.7602 MB / 0.7983 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.9696, allocations: 1.287 MB / 0.7996 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.9696, allocations: 5.5 kB / 0.7996 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003253/0.9728, allocations: 1.661 MB / 0.8012 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.9728, allocations: 9.469 kB / 0.8012 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.9729, allocations: 8.688 kB / 0.8012 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006933/0.9798, allocations: 1.313 MB / 0.8025 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.9805, allocations: 156.3 kB / 0.8026 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.9831, allocations: 1.531 MB / 0.8041 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009682/0.9841, allocations: 48.61 kB / 0.8042 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.9842, allocations: 57.88 kB / 0.8042 GB, free: 9.137 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005158/0.9847, allocations: 299.6 kB / 0.8045 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.9849, allocations: 90.55 kB / 0.8046 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.9883, allocations: 1.681 MB / 0.8063 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.9883, allocations: 10.77 kB / 0.8063 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.9883, allocations: 4 kB / 0.8063 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.9883, allocations: 3.984 kB / 0.8063 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.9929, allocations: 2.529 MB / 0.8087 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.9929, allocations: 4 kB / 0.8087 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.9943, allocations: 260.8 kB / 0.809 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.9961, allocations: 371.6 kB / 0.8093 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.9962, allocations: 35.84 kB / 0.8094 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.9991, allocations: 2.245 MB / 0.8116 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.9991, allocations: 8.031 kB / 0.8116 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/1.003, allocations: 2.036 MB / 0.8136 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/1.004, allocations: 219.3 kB / 0.8138 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/1.004, allocations: 20.66 kB / 0.8138 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/1.005, allocations: 55.95 kB / 0.8139 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.005, allocations: 72 kB / 0.8139 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.005, allocations: 43.97 kB / 0.814 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007116/1.006, allocations: 0.4951 MB / 0.8144 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.006, allocations: 4 kB / 0.8144 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002147/1.008, allocations: 0.6948 MB / 0.8151 GB, free: 1.172 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006436/1.014, allocations: 3.294 MB / 0.8183 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002798/1.017, allocations: 1.19 MB / 0.8195 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.017, allocations: 1.203 kB / 0.8195 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/1.019, allocations: 0.6861 MB / 0.8202 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/1.021, allocations: 0.5273 MB / 0.8207 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/1.04, allocations: 9.68 MB / 0.8301 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/1.041, allocations: 1.043 MB / 0.8312 GB, free: 492 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001156/1.042, allocations: 370.7 kB / 0.8315 GB, free: 132 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/1.042, allocations: 337.6 kB / 0.8318 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/1.042, allocations: 4 kB / 0.8318 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09637/1.139, allocations: 44.97 MB / 0.8758 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.96, allocations: 4.062 kB / 0.8758 GB, free: 3.105 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.94909423496574] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.Xi[1]', 'volume.medium.T'] 15.077941874042153 15.104122591 14.167004381 Calling exit ...