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.001736/0.001736, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002075/0.002075, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.497/1.497, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2259/0.2259, allocations: 46.88 MB / 357.4 MB, free: 10.49 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.002218/0.002218, allocations: 75.88 kB / 0.4912 GB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1323, allocations: 65.98 MB / 0.5557 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5269/0.6593, allocations: 194.7 MB / 0.7458 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.6707, allocations: 7.472 MB / 0.7531 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.6717, allocations: 19.88 kB / 0.7531 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.6733, allocations: 449.5 kB / 0.7535 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007467/0.6808, allocations: 2.384 MB / 0.7559 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006606/0.6874, allocations: 2.317 MB / 0.7581 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.6908, allocations: 2.204 MB / 0.7603 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.692, allocations: 0.5367 MB / 0.7608 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005329/0.6973, allocations: 1.849 MB / 0.7626 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.6994, allocations: 0.9228 MB / 0.7635 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005094/0.6999, allocations: 92 kB / 0.7636 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.7121, allocations: 5.393 MB / 0.7689 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.7132, allocations: 442.7 kB / 0.7693 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.7144, allocations: 0.5252 MB / 0.7698 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.7256, allocations: 3.849 MB / 0.7736 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7256, allocations: 0 / 0.7736 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7256, allocations: 3.938 kB / 0.7736 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.364e-05/0.7257, allocations: 7.938 kB / 0.7736 GB, free: 2.582 MB / 0.5762 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.005589/0.7313, allocations: 1.776 MB / 0.7753 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.7313, allocations: 8.031 kB / 0.7753 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002803/0.7316, allocations: 130.5 kB / 0.7754 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006166/0.7322, allocations: 119.3 kB / 0.7755 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.7337, allocations: 0.6176 MB / 0.7761 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.7339, allocations: 117.3 kB / 0.7763 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.734, allocations: 71.98 kB / 0.7763 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.7361, allocations: 1.158 MB / 0.7775 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.7362, allocations: 4 kB / 0.7775 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.7363, allocations: 35.97 kB / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.711e-05/0.7364, allocations: 69.84 kB / 0.7776 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.7387, allocations: 1.155 MB / 0.7787 GB, free: 13.16 MB / 0.5919 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.00848/0.7472, allocations: 4.982 MB / 0.7836 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.749, allocations: 0.7912 MB / 0.7843 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/0.7497, allocations: 411.1 kB / 0.7847 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/0.7514, allocations: 1.619 MB / 0.7863 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.7514, allocations: 43.12 kB / 0.7863 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.026e-06/0.7514, allocations: 4 kB / 0.7863 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01446/0.7659, allocations: 4.021 MB / 0.7903 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.7661, allocations: 115.5 kB / 0.7904 GB, free: 404 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.7671, allocations: 0.6641 MB / 0.791 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.7672, allocations: 45.7 kB / 0.7911 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.7676, allocations: 396.4 kB / 0.7915 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.7679, allocations: 305.4 kB / 0.7917 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.7683, allocations: 198.5 kB / 0.7919 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.7685, allocations: 386.8 kB / 0.7923 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.7696, allocations: 497.7 kB / 0.7928 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.7712, allocations: 0.7523 MB / 0.7935 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.7741, allocations: 1.281 MB / 0.7948 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.7741, allocations: 3.938 kB / 0.7948 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003895/0.778, allocations: 1.665 MB / 0.7964 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.778, allocations: 12.03 kB / 0.7964 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7781, allocations: 8 kB / 0.7964 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007095/0.7851, allocations: 1.315 MB / 0.7977 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/0.7859, allocations: 151.7 kB / 0.7978 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.7888, allocations: 1.524 MB / 0.7993 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7899, allocations: 59.91 kB / 0.7994 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.7902, allocations: 51.98 kB / 0.7994 GB, free: 6.828 MB / 0.6075 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.0007658/0.7909, allocations: 293.5 kB / 0.7997 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.7913, allocations: 87.48 kB / 0.7998 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.7951, allocations: 1.661 MB / 0.8014 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.7951, allocations: 12 kB / 0.8014 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.7951, allocations: 3.938 kB / 0.8014 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.7952, allocations: 7.969 kB / 0.8014 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005275/0.8004, allocations: 2.636 MB / 0.804 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.8004, allocations: 4.031 kB / 0.804 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.8018, allocations: 263.6 kB / 0.8043 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.8035, allocations: 376.4 kB / 0.8046 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.8036, allocations: 35.97 kB / 0.8047 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.8065, allocations: 2.346 MB / 0.807 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.8066, allocations: 4.031 kB / 0.807 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.8107, allocations: 2.029 MB / 0.8089 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/0.8115, allocations: 288.4 kB / 0.8092 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.8117, allocations: 23.94 kB / 0.8092 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008939/0.8126, allocations: 63.94 kB / 0.8093 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.8127, allocations: 60.8 kB / 0.8094 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.8128, allocations: 51.97 kB / 0.8094 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007512/0.8136, allocations: 0.4951 MB / 0.8099 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8136, allocations: 3.938 kB / 0.8099 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002466/0.8161, allocations: 0.6974 MB / 0.8106 GB, free: 11.08 MB / 0.6231 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.007129/0.8232, allocations: 3.292 MB / 0.8138 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00294/0.8261, allocations: 1.19 MB / 0.815 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.8261, allocations: 0 / 0.815 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.828, allocations: 0.6859 MB / 0.8156 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.8306, allocations: 0.5313 MB / 0.8161 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/0.8497, allocations: 9.684 MB / 0.8256 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009235/0.8506, allocations: 1.047 MB / 0.8266 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001243/0.8518, allocations: 365.4 kB / 0.827 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/0.8524, allocations: 327.3 kB / 0.8273 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of SimCode: time 6.62e-07/0.8524, allocations: 4 kB / 0.8273 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3253/1.178, allocations: 44.16 MB / 0.8704 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.25, allocations: 1.781 kB / 0.8704 GB, free: 222.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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: 18.26810343004763] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.Xi[1]', 'volume.medium.T'] 15.366067480761558 15.378755238 14.6503914 Calling exit ...