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.001327/0.001327, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001542/0.001542, allocations: 219 kB / 22.92 MB, free: 5.539 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.293/1.293, allocations: 230.2 MB / 256.1 MB, free: 8.773 MB / 206.1 MB " [Timeout remaining time 179] 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.2028/0.2028, allocations: 46.89 MB / 359.3 MB, free: 4.977 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.002119/0.002119, allocations: 87.83 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2625, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4599/0.7224, allocations: 195 MB / 0.7488 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006916/0.7293, allocations: 7.531 MB / 0.7562 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.7299, allocations: 22.81 kB / 0.7562 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.7309, allocations: 450 kB / 0.7566 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.7355, allocations: 2.39 MB / 0.759 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.7399, allocations: 2.315 MB / 0.7612 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.742, allocations: 2.209 MB / 0.7634 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.7431, allocations: 0.5179 MB / 0.7639 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.7472, allocations: 1.858 MB / 0.7657 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.7485, allocations: 0.9123 MB / 0.7666 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.7487, allocations: 95.5 kB / 0.7667 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007024/0.7557, allocations: 5.396 MB / 0.772 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.7561, allocations: 445.4 kB / 0.7724 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.7567, allocations: 0.5338 MB / 0.7729 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.762, allocations: 3.848 MB / 0.7767 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.762, allocations: 3.344 kB / 0.7767 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.083e-06/0.762, allocations: 0 / 0.7767 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.762, allocations: 0.9375 kB / 0.7767 GB, free: 1.16 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.00345/0.7654, allocations: 1.778 MB / 0.7784 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.7655, allocations: 7.375 kB / 0.7784 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.7656, allocations: 131.5 kB / 0.7785 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.766, allocations: 111.6 kB / 0.7786 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.7668, allocations: 0.625 MB / 0.7793 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.7669, allocations: 116.3 kB / 0.7794 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.767, allocations: 76.53 kB / 0.7794 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.7684, allocations: 1.159 MB / 0.7806 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.7684, allocations: 0.625 kB / 0.7806 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.7685, allocations: 31.73 kB / 0.7806 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/0.7686, allocations: 60.45 kB / 0.7807 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.7701, allocations: 1.161 MB / 0.7818 GB, free: 15.58 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.005578/0.7756, allocations: 4.985 MB / 0.7867 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.777, allocations: 0.7795 MB / 0.7874 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.7775, allocations: 407.4 kB / 0.7878 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.7788, allocations: 1.625 MB / 0.7894 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.7789, allocations: 45.12 kB / 0.7894 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.455e-06/0.7789, allocations: 0 / 0.7894 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.0116/0.7905, allocations: 4.019 MB / 0.7934 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.7906, allocations: 113 kB / 0.7935 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.7913, allocations: 0.662 MB / 0.7941 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.702e-05/0.7914, allocations: 40.73 kB / 0.7942 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.7916, allocations: 388.4 kB / 0.7945 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.7918, allocations: 312.5 kB / 0.7948 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.7921, allocations: 198.7 kB / 0.795 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7922, allocations: 392 kB / 0.7954 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008677/0.7931, allocations: 495.9 kB / 0.7959 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.7942, allocations: 0.7587 MB / 0.7966 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.7963, allocations: 1.28 MB / 0.7979 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.7963, allocations: 4.406 kB / 0.7979 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003101/0.7994, allocations: 1.659 MB / 0.7995 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7994, allocations: 9.562 kB / 0.7995 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7995, allocations: 7.625 kB / 0.7995 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006543/0.806, allocations: 1.31 MB / 0.8008 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.8066, allocations: 156.5 kB / 0.8009 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.809, allocations: 1.531 MB / 0.8024 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.8097, allocations: 51.58 kB / 0.8025 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.8098, allocations: 55.12 kB / 0.8025 GB, free: 7.242 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.0004521/0.8103, allocations: 295.5 kB / 0.8028 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.8105, allocations: 90.2 kB / 0.8029 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.8134, allocations: 1.676 MB / 0.8045 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.8134, allocations: 15.91 kB / 0.8045 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.8134, allocations: 0 / 0.8045 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.8134, allocations: 3.984 kB / 0.8045 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.8173, allocations: 2.63 MB / 0.8071 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.8173, allocations: 0 / 0.8071 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.8186, allocations: 261.1 kB / 0.8074 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.8202, allocations: 384.7 kB / 0.8077 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.8203, allocations: 29.86 kB / 0.8078 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.8228, allocations: 2.356 MB / 0.8101 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8228, allocations: 0 / 0.8101 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.8264, allocations: 2.029 MB / 0.812 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.8268, allocations: 293.1 kB / 0.8123 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.827, allocations: 28.92 kB / 0.8123 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/0.8277, allocations: 48.83 kB / 0.8124 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.8279, allocations: 72.47 kB / 0.8125 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/0.828, allocations: 43.28 kB / 0.8125 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000595/0.8286, allocations: 0.5003 MB / 0.813 GB, free: 204 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8286, allocations: 0 / 0.813 GB, free: 204 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001885/0.8304, allocations: 0.6935 MB / 0.8137 GB, free: 15.5 MB / 0.5919 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.005863/0.8363, allocations: 3.302 MB / 0.8169 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002591/0.8389, allocations: 1.187 MB / 0.8181 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8389, allocations: 0 / 0.8181 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.8406, allocations: 0.6891 MB / 0.8187 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.843, allocations: 0.5288 MB / 0.8192 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.8591, allocations: 9.672 MB / 0.8287 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.8597, allocations: 1.043 MB / 0.8297 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009896/0.8607, allocations: 368 kB / 0.8301 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.8612, allocations: 335.3 kB / 0.8304 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.8612, allocations: 0 / 0.8304 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0874/0.9486, allocations: 44.38 MB / 0.8737 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.43, allocations: 3.781 kB / 0.8737 GB, free: 2.047 MB / 0.6387 GB " [Timeout remaining time 646] (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: 15.999431784002809]