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.SimpleAir.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.001247/0.001247, allocations: 120.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.001343/0.001343, allocations: 205 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.51/1.51, allocations: 230.5 MB / 254.7 MB, free: 15.04 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.2365/0.2365, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.002264/0.002264, allocations: 79.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1382, allocations: 66.04 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5883/0.7265, allocations: 151 MB / 0.7036 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008882/0.7354, allocations: 5.613 MB / 0.7091 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.7364, allocations: 31.69 kB / 0.7091 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.7376, allocations: 329.9 kB / 0.7095 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.7402, allocations: 0.8823 MB / 0.7103 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.7435, allocations: 1.013 MB / 0.7113 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002916/0.7464, allocations: 1.805 MB / 0.7131 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.7472, allocations: 409.4 kB / 0.7135 GB, free: 48 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.7489, allocations: 0.7825 MB / 0.7142 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.7502, allocations: 0.7552 MB / 0.715 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.7503, allocations: 60 kB / 0.715 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.7517, allocations: 0.5771 MB / 0.7156 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.752, allocations: 271.1 kB / 0.7158 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000589/0.7526, allocations: 402.2 kB / 0.7162 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.7546, allocations: 1.175 MB / 0.7174 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7546, allocations: 0 / 0.7174 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7546, allocations: 0 / 0.7174 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.7546, allocations: 0 / 0.7174 GB, free: 12.03 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002359/0.7569, allocations: 1.07 MB / 0.7184 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.757, allocations: 12.03 kB / 0.7184 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.7571, allocations: 100.4 kB / 0.7185 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.7575, allocations: 100.4 kB / 0.7186 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.7585, allocations: 0.5331 MB / 0.7191 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.7587, allocations: 104.9 kB / 0.7192 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.7588, allocations: 56.36 kB / 0.7193 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.7602, allocations: 0.8188 MB / 0.7201 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.7602, allocations: 0 / 0.7201 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.7603, allocations: 24 kB / 0.7201 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.302e-05/0.7604, allocations: 36.98 kB / 0.7202 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.7615, allocations: 0.6517 MB / 0.7208 GB, free: 8.359 MB / 0.5294 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.005095/0.7666, allocations: 3.952 MB / 0.7246 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.7675, allocations: 420 kB / 0.725 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.7678, allocations: 190.3 kB / 0.7252 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/0.7685, allocations: 0.7327 MB / 0.7259 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.7686, allocations: 38.89 kB / 0.726 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.7686, allocations: 0 / 0.726 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003482/0.772, allocations: 1.562 MB / 0.7275 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.7721, allocations: 132.5 kB / 0.7276 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.7729, allocations: 0.5694 MB / 0.7282 GB, free: 208 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.7729, allocations: 37.7 kB / 0.7282 GB, free: 164 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.7732, allocations: 363.9 kB / 0.7286 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.7734, allocations: 174.6 kB / 0.7287 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.7736, allocations: 138.6 kB / 0.7289 GB, free: 15.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.7738, allocations: 374.7 kB / 0.7292 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.7742, allocations: 225.8 kB / 0.7294 GB, free: 14.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.7748, allocations: 0.5084 MB / 0.7299 GB, free: 14.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7759, allocations: 0.764 MB / 0.7307 GB, free: 13.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7759, allocations: 4 kB / 0.7307 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001722/0.7776, allocations: 0.9057 MB / 0.7316 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.7776, allocations: 15.94 kB / 0.7316 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.7776, allocations: 8 kB / 0.7316 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.7791, allocations: 278.9 kB / 0.7319 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.7795, allocations: 123.8 kB / 0.732 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.7806, allocations: 0.888 MB / 0.7328 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.781, allocations: 31.92 kB / 0.7329 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.7811, allocations: 36 kB / 0.7329 GB, free: 11.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003784/0.7815, allocations: 248.8 kB / 0.7331 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.7816, allocations: 67.58 kB / 0.7332 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.783, allocations: 0.764 MB / 0.734 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.783, allocations: 7.984 kB / 0.734 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.783, allocations: 4 kB / 0.734 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.783, allocations: 3.938 kB / 0.734 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.7853, allocations: 1.412 MB / 0.7354 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7853, allocations: 192 / 0.7354 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.7864, allocations: 199.8 kB / 0.7355 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.7865, allocations: 28.83 kB / 0.7356 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.7866, allocations: 16 kB / 0.7356 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.7892, allocations: 2.87 MB / 0.7384 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7892, allocations: 4.188 kB / 0.7384 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.7909, allocations: 1.017 MB / 0.7394 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.7912, allocations: 208.5 kB / 0.7396 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.7913, allocations: 8 kB / 0.7396 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.7917, allocations: 16 kB / 0.7396 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.7918, allocations: 35.89 kB / 0.7396 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.7918, allocations: 27.97 kB / 0.7397 GB, free: 3.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005765/0.7924, allocations: 427.1 kB / 0.7401 GB, free: 3.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7924, allocations: 4 kB / 0.7401 GB, free: 3.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008867/0.7933, allocations: 231.7 kB / 0.7403 GB, free: 2.973 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002262/0.7956, allocations: 1.7 MB / 0.742 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.797, allocations: 0.5706 MB / 0.7425 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.797, allocations: 1.438 kB / 0.7425 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.798, allocations: 447 kB / 0.7429 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.7998, allocations: 376.9 kB / 0.7433 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.8104, allocations: 6.492 MB / 0.7496 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.811, allocations: 0.9385 MB / 0.7506 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007511/0.8118, allocations: 204.1 kB / 0.7508 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.8122, allocations: 239.3 kB / 0.751 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.8122, allocations: 0 / 0.751 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/0.8756, allocations: 22.62 MB / 0.7731 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.84, allocations: 7.5 kB / 0.7731 GB, free: 1.203 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_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_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.00985287083313] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.954804815817624 13.983510596 13.223153745 Calling exit ...