Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.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.00167/0.00167, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001992/0.001992, allocations: 215.2 kB / 22.92 MB, free: 5.195 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.319/1.319, allocations: 230.2 MB / 256.2 MB, free: 8.574 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.2014/0.2014, allocations: 46.9 MB / 359.3 MB, free: 4.938 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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",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.002281/0.002281, allocations: 79.86 kB / 0.494 GB, free: 9.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2626, allocations: 65.98 MB / 0.5585 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1643/0.4268, allocations: 153.5 MB / 0.7083 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005866/0.4327, allocations: 5.342 MB / 0.7136 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.4328, allocations: 4 kB / 0.7136 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.4331, allocations: 47.61 kB / 0.7136 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.4362, allocations: 1.335 MB / 0.7149 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.4365, allocations: 146.1 kB / 0.7151 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.4371, allocations: 406 kB / 0.7154 GB, free: 3.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.4371, allocations: 9.672 kB / 0.7155 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.4374, allocations: 167.4 kB / 0.7156 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.4377, allocations: 187.4 kB / 0.7158 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.4377, allocations: 8 kB / 0.7158 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.4398, allocations: 1.107 MB / 0.7169 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-05/0.4398, allocations: 39.88 kB / 0.7169 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.4399, allocations: 111.5 kB / 0.717 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.4413, allocations: 0.861 MB / 0.7179 GB, free: 1.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4413, allocations: 4 kB / 0.7179 GB, free: 1.316 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4413, allocations: 0 / 0.7179 GB, free: 1.316 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4413, allocations: 0 / 0.7179 GB, free: 1.316 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001279/0.4426, allocations: 0.6969 MB / 0.7186 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4427, allocations: 12.03 kB / 0.7186 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.4427, allocations: 58.73 kB / 0.7186 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007543/0.4503, allocations: 0.6054 MB / 0.7192 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.4507, allocations: 275.2 kB / 0.7195 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.4508, allocations: 127.4 kB / 0.7196 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.4509, allocations: 20 kB / 0.7196 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4521, allocations: 0.5595 MB / 0.7202 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4521, allocations: 7.938 kB / 0.7202 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.4522, allocations: 12 kB / 0.7202 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.4522, allocations: 4 kB / 0.7202 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.4536, allocations: 0.6338 MB / 0.7208 GB, free: 14.16 MB / 0.5606 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.002065/0.4556, allocations: 1.718 MB / 0.7225 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.456, allocations: 146.5 kB / 0.7226 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.4561, allocations: 64.88 kB / 0.7227 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.4576, allocations: 1.487 MB / 0.7241 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4576, allocations: 34.56 kB / 0.7242 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.4576, allocations: 0 / 0.7242 GB, free: 10.28 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0009372/0.4586, allocations: 331.6 kB / 0.7245 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.4586, allocations: 55.41 kB / 0.7245 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.4588, allocations: 186.5 kB / 0.7247 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.4588, allocations: 33.7 kB / 0.7247 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.459, allocations: 187.8 kB / 0.7249 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.459, allocations: 67.44 kB / 0.725 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4591, allocations: 98 kB / 0.7251 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4593, allocations: 330.8 kB / 0.7254 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4594, allocations: 68.64 kB / 0.7255 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.4597, allocations: 264.5 kB / 0.7257 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.4602, allocations: 360.9 kB / 0.7261 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4602, allocations: 4 kB / 0.7261 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006335/0.4609, allocations: 377.3 kB / 0.7264 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4609, allocations: 8 kB / 0.7264 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4609, allocations: 8 kB / 0.7264 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4609, allocations: 8 kB / 0.7264 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.4613, allocations: 127.8 kB / 0.7266 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/0.4617, allocations: 0.6058 MB / 0.7272 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.4619, allocations: 47.62 kB / 0.7272 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.462, allocations: 43.98 kB / 0.7272 GB, free: 6.852 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001442/0.4621, allocations: 141.7 kB / 0.7274 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.4622, allocations: 19.84 kB / 0.7274 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000802/0.463, allocations: 463 kB / 0.7278 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.463, allocations: 0 / 0.7278 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.463, allocations: 4 kB / 0.7278 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.463, allocations: 8 kB / 0.7279 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.4639, allocations: 0.6351 MB / 0.7285 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4639, allocations: 8.25 kB / 0.7285 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.4641, allocations: 59.95 kB / 0.7285 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4641, allocations: 0 / 0.7285 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4641, allocations: 8 kB / 0.7285 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003369/0.4644, allocations: 0.6054 MB / 0.7291 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4644, allocations: 4 kB / 0.7291 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.4648, allocations: 294.3 kB / 0.7294 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4649, allocations: 116.9 kB / 0.7295 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.465, allocations: 8 kB / 0.7295 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.4652, allocations: 7.984 kB / 0.7295 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.4652, allocations: 19.92 kB / 0.7296 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.4653, allocations: 19.98 kB / 0.7296 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001241/0.4654, allocations: 139.6 kB / 0.7297 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.4654, allocations: 4 kB / 0.7297 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000612/0.466, allocations: 171.6 kB / 0.7299 GB, free: 3.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001156/0.4672, allocations: 1.001 MB / 0.7309 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.4677, allocations: 229 kB / 0.7311 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4677, allocations: 0 / 0.7311 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.4679, allocations: 79.83 kB / 0.7312 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.4684, allocations: 68.98 kB / 0.7312 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2026/0.6709, allocations: 3.047 MB / 0.7342 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.6711, allocations: 0.7231 MB / 0.7349 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000737/0.6718, allocations: 377 kB / 0.7353 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.672, allocations: 93.17 kB / 0.7354 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.672, allocations: 0 / 0.7354 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.702, allocations: 7.999 MB / 0.7432 GB, free: 170 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.13, allocations: 0 / 0.7432 GB, free: 170 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.693110589985736]