Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.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.00179/0.00179, 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.001883/0.001883, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.5 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002022/0.002022, allocations: 67.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1021, allocations: 53.34 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2241/0.3261, allocations: 26.84 MB / 453.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0296/0.3557, allocations: 24.97 MB / 478.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.3562, allocations: 5.406 kB / 478.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009922/0.3572, allocations: 305.9 kB / 479.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009069/0.3581, allocations: 382.7 kB / 479.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.3705, allocations: 4.096 MB / 483.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.372, allocations: 0.9481 MB / 484.5 MB, free: 4.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3722, allocations: 84.16 kB / 484.6 MB, free: 4.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.3728, allocations: 397.5 kB / 485 MB, free: 4.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.3732, allocations: 315 kB / 485.3 MB, free: 4.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.3733, allocations: 36.84 kB / 485.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01976/0.393, allocations: 10.49 MB / 495.9 MB, free: 12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.3933, allocations: 107.7 kB / 496 MB, free: 11.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.3938, allocations: 231.1 kB / 496.2 MB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03008/0.4239, allocations: 11.51 MB / 0.4958 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.4239, allocations: 0 / 0.4958 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4239, allocations: 0 / 0.4958 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4239, allocations: 4 kB / 0.4958 GB, free: 148 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006791/0.4307, allocations: 1.177 MB / 0.4969 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4307, allocations: 8.031 kB / 0.497 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.559e-05/0.4308, allocations: 74.47 kB / 0.497 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/0.4314, allocations: 67.73 kB / 0.4971 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.4319, allocations: 330.9 kB / 0.4974 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.432, allocations: 20.66 kB / 0.4974 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.432, allocations: 35.94 kB / 0.4975 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008972/0.4329, allocations: 463.8 kB / 0.4979 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4329, allocations: 3.938 kB / 0.4979 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.433, allocations: 16 kB / 0.4979 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.433, allocations: 8 kB / 0.4979 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.4337, allocations: 386.3 kB / 0.4983 GB, free: 13.45 MB / 414.1 MB 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.003663/0.4374, allocations: 2.955 MB / 0.5012 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.4381, allocations: 278.3 kB / 0.5014 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.4383, allocations: 125.3 kB / 0.5016 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002772/0.4411, allocations: 2.466 MB / 0.504 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.4411, allocations: 42.56 kB / 0.504 GB, free: 6.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.704e-06/0.4411, allocations: 3.938 kB / 0.504 GB, free: 6.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005752/0.4469, allocations: 1.303 MB / 0.5053 GB, free: 5.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4469, allocations: 55.41 kB / 0.5053 GB, free: 5.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.4472, allocations: 262.5 kB / 0.5056 GB, free: 5.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.4473, allocations: 37.7 kB / 0.5056 GB, free: 5.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.4474, allocations: 184.5 kB / 0.5058 GB, free: 4.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.4475, allocations: 126.9 kB / 0.5059 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.4476, allocations: 86.08 kB / 0.506 GB, free: 4.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4478, allocations: 338.8 kB / 0.5063 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.448, allocations: 116.8 kB / 0.5064 GB, free: 4.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.4483, allocations: 226.1 kB / 0.5067 GB, free: 3.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.4489, allocations: 377.5 kB / 0.507 GB, free: 3.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4489, allocations: 3.938 kB / 0.507 GB, free: 3.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009276/0.4498, allocations: 467.1 kB / 0.5075 GB, free: 3.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4498, allocations: 6.188 kB / 0.5075 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4498, allocations: 11.92 kB / 0.5075 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006028/0.4558, allocations: 249.4 kB / 0.5077 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.4562, allocations: 85.45 kB / 0.5078 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.4579, allocations: 1.943 MB / 0.5097 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.4581, allocations: 12 kB / 0.5097 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.4581, allocations: 20 kB / 0.5097 GB, free: 0.5898 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.4583, allocations: 164.3 kB / 0.5099 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.4585, allocations: 35.75 kB / 0.5099 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.4596, allocations: 0.6891 MB / 0.5106 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4596, allocations: 8.875 kB / 0.5106 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.4596, allocations: 0 / 0.5106 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009361/0.4606, allocations: 0.8631 MB / 0.5114 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.4622, allocations: 1.191 MB / 0.5126 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4622, allocations: 0 / 0.5126 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4624, allocations: 59.91 kB / 0.5127 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.464, allocations: 177.1 kB / 0.5128 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.464, allocations: 8 kB / 0.5128 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004125/0.4644, allocations: 0.5797 MB / 0.5134 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4644, allocations: 7.562 kB / 0.5134 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4655, allocations: 0.7344 MB / 0.5141 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4656, allocations: 108.8 kB / 0.5142 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.4656, allocations: 8 kB / 0.5142 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.4658, allocations: 4 kB / 0.5142 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.4658, allocations: 31.84 kB / 0.5143 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4659, allocations: 16.11 kB / 0.5143 GB, free: 11.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.4661, allocations: 225.9 kB / 0.5145 GB, free: 11.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4661, allocations: 0 / 0.5145 GB, free: 11.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004544/0.4707, allocations: 0.7519 MB / 0.5152 GB, free: 10.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02503/0.4957, allocations: 7.594 MB / 0.5227 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.4967, allocations: 457.4 kB / 0.5231 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4967, allocations: 3.938 kB / 0.5231 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.4972, allocations: 208.2 kB / 0.5233 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4982, allocations: 198 kB / 0.5235 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008822/0.5071, allocations: 4.044 MB / 0.5274 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.5075, allocations: 0.8129 MB / 0.5282 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.508, allocations: 190.9 kB / 0.5284 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.5082, allocations: 135.4 kB / 0.5285 GB, free: 12.84 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5082, allocations: 0 / 0.5285 GB, free: 12.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/0.6169, allocations: 33.86 MB / 0.5616 GB, free: 11.08 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.07, allocations: 8.297 kB / 0.5616 GB, free: 11.08 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.685173853300512] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.199862223118544 14.225620961 13.797547 Calling exit ...