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.001339/0.001339, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001399/0.001399, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.574/1.574, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2586/0.2586, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.00226/0.00226, allocations: 83.86 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1547, allocations: 66.04 MB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5974/0.752, allocations: 194.7 MB / 0.7463 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.7653, allocations: 7.465 MB / 0.7536 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.7665, allocations: 31.69 kB / 0.7536 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.7684, allocations: 453.4 kB / 0.754 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007836/0.7762, allocations: 2.387 MB / 0.7564 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007257/0.7834, allocations: 2.31 MB / 0.7586 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.787, allocations: 2.204 MB / 0.7608 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.7882, allocations: 0.525 MB / 0.7613 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.7931, allocations: 1.865 MB / 0.7631 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.7949, allocations: 0.9112 MB / 0.764 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.7952, allocations: 92 kB / 0.7641 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.8064, allocations: 5.397 MB / 0.7694 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009802/0.8073, allocations: 442.8 kB / 0.7698 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.8084, allocations: 0.5251 MB / 0.7703 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009831/0.8182, allocations: 3.852 MB / 0.7741 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8182, allocations: 0 / 0.7741 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8182, allocations: 0 / 0.7741 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.8182, allocations: 0 / 0.7741 GB, free: 1.805 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.004675/0.8229, allocations: 1.78 MB / 0.7758 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.823, allocations: 8.031 kB / 0.7758 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.8232, allocations: 133.5 kB / 0.7759 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.8236, allocations: 115.3 kB / 0.776 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.8248, allocations: 0.6098 MB / 0.7766 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.8249, allocations: 129.3 kB / 0.7768 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.825, allocations: 68 kB / 0.7768 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.8271, allocations: 1.166 MB / 0.778 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.8271, allocations: 7.938 kB / 0.778 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.8272, allocations: 31.98 kB / 0.778 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-05/0.8273, allocations: 61.89 kB / 0.7781 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.8293, allocations: 1.163 MB / 0.7792 GB, free: 12.37 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.007543/0.8368, allocations: 4.96 MB / 0.784 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.8387, allocations: 0.7882 MB / 0.7848 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/0.8394, allocations: 414.1 kB / 0.7852 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.841, allocations: 1.622 MB / 0.7868 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.8411, allocations: 47.12 kB / 0.7868 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.8411, allocations: 0 / 0.7868 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01479/0.8559, allocations: 4.018 MB / 0.7908 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/0.856, allocations: 115.4 kB / 0.7909 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.8572, allocations: 0.6642 MB / 0.7915 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.8574, allocations: 41.7 kB / 0.7916 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.8579, allocations: 400.4 kB / 0.7919 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004857/0.8583, allocations: 301.5 kB / 0.7922 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.8588, allocations: 194.5 kB / 0.7924 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.859, allocations: 390.8 kB / 0.7928 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.8602, allocations: 497.7 kB / 0.7933 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.8616, allocations: 0.7484 MB / 0.794 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.8642, allocations: 1.293 MB / 0.7952 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.8642, allocations: 3.938 kB / 0.7953 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00382/0.868, allocations: 1.661 MB / 0.7969 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.8681, allocations: 9.719 kB / 0.7969 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.8681, allocations: 8 kB / 0.7969 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007464/0.8755, allocations: 1.317 MB / 0.7982 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.8763, allocations: 151.7 kB / 0.7983 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.8792, allocations: 1.529 MB / 0.7998 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/0.8802, allocations: 48.02 kB / 0.7999 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.8804, allocations: 59.97 kB / 0.7999 GB, free: 6.062 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.0005992/0.881, allocations: 297.5 kB / 0.8002 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.8812, allocations: 87.48 kB / 0.8003 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.8848, allocations: 1.671 MB / 0.8019 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.8849, allocations: 16 kB / 0.8019 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8849, allocations: 3.938 kB / 0.8019 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.8849, allocations: 3.984 kB / 0.8019 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.8898, allocations: 2.624 MB / 0.8045 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.8898, allocations: 4 kB / 0.8045 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.8911, allocations: 255.7 kB / 0.8048 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.8929, allocations: 380.5 kB / 0.8051 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.893, allocations: 31.98 kB / 0.8051 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.8959, allocations: 2.344 MB / 0.8074 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8959, allocations: 4.031 kB / 0.8074 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.9, allocations: 2.041 MB / 0.8094 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.9007, allocations: 288.4 kB / 0.8097 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.9008, allocations: 31.98 kB / 0.8097 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.9016, allocations: 47.95 kB / 0.8098 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.9018, allocations: 68.8 kB / 0.8098 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.9019, allocations: 47.95 kB / 0.8099 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007131/0.9026, allocations: 0.4912 MB / 0.8104 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.9026, allocations: 4 kB / 0.8104 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002128/0.9048, allocations: 0.6974 MB / 0.8111 GB, free: 10.32 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.006641/0.9114, allocations: 3.277 MB / 0.8143 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.9144, allocations: 1.182 MB / 0.8154 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.9144, allocations: 7.938 kB / 0.8154 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.9163, allocations: 0.6899 MB / 0.8161 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.919, allocations: 0.5251 MB / 0.8166 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/0.9398, allocations: 9.675 MB / 0.8261 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.9406, allocations: 1.043 MB / 0.8271 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001276/0.9419, allocations: 365.1 kB / 0.8274 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/0.9425, allocations: 335.3 kB / 0.8277 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of SimCode: time 1.743e-06/0.9425, allocations: 0 / 0.8277 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3984/1.341, allocations: 44.06 MB / 0.8708 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.33, allocations: 3.938 kB / 0.8708 GB, free: 221.8 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: 18.613054749090225] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.Xi[1]', 'volume.medium.T'] 15.449457251932472 15.469651635 14.647244886 Calling exit ...