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.001175/0.001175, 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.001534/0.001534, allocations: 221.8 kB / 22.92 MB, free: 5.191 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.308/1.308, allocations: 230.2 MB / 256.2 MB, free: 8.582 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.1988/0.1988, allocations: 46.9 MB / 359.3 MB, free: 4.965 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.002113/0.002113, allocations: 87.86 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2605, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1628/0.4232, allocations: 153.5 MB / 0.7083 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006049/0.4293, allocations: 5.345 MB / 0.7136 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.4294, allocations: 4 kB / 0.7136 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.4297, allocations: 51.61 kB / 0.7136 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.4329, allocations: 1.323 MB / 0.7149 GB, free: 4.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.4332, allocations: 142.5 kB / 0.715 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.4338, allocations: 402.1 kB / 0.7154 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.4339, allocations: 17.61 kB / 0.7154 GB, free: 3.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.4342, allocations: 171.4 kB / 0.7156 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.4345, allocations: 183.4 kB / 0.7158 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.4345, allocations: 12 kB / 0.7158 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.4368, allocations: 1.107 MB / 0.7169 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.4369, allocations: 43.86 kB / 0.7169 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.437, allocations: 111.5 kB / 0.717 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.4386, allocations: 0.861 MB / 0.7179 GB, free: 1.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4386, allocations: 0 / 0.7179 GB, free: 1.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4386, allocations: 0 / 0.7179 GB, free: 1.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.4386, allocations: 0 / 0.7179 GB, free: 1.344 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.001382/0.44, allocations: 0.7009 MB / 0.7185 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.4401, allocations: 8.031 kB / 0.7186 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.586e-05/0.4401, allocations: 66.67 kB / 0.7186 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/0.4478, allocations: 0.6054 MB / 0.7192 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.4483, allocations: 259.2 kB / 0.7195 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.4484, allocations: 127.4 kB / 0.7196 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4485, allocations: 27.98 kB / 0.7196 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4496, allocations: 0.5595 MB / 0.7202 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4497, allocations: 3.938 kB / 0.7202 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.4497, allocations: 16 kB / 0.7202 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.4498, allocations: 8 kB / 0.7202 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.4512, allocations: 0.6337 MB / 0.7208 GB, free: 14.18 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.002184/0.4534, allocations: 1.714 MB / 0.7225 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.4537, allocations: 150.5 kB / 0.7226 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.4539, allocations: 64.88 kB / 0.7227 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/0.4554, allocations: 1.479 MB / 0.7241 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.4554, allocations: 42.56 kB / 0.7242 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.4554, allocations: 0 / 0.7242 GB, free: 10.3 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.000956/0.4564, allocations: 319.8 kB / 0.7245 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.4564, allocations: 63.34 kB / 0.7245 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4566, allocations: 190.5 kB / 0.7247 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.4566, allocations: 29.7 kB / 0.7247 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4568, allocations: 183.8 kB / 0.7249 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.4568, allocations: 71.42 kB / 0.725 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.457, allocations: 94 kB / 0.7251 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4571, allocations: 330.8 kB / 0.7254 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4572, allocations: 68.7 kB / 0.7255 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.4575, allocations: 268.5 kB / 0.7257 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.458, allocations: 358.2 kB / 0.726 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.458, allocations: 4 kB / 0.7261 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006298/0.4586, allocations: 372.6 kB / 0.7264 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4587, allocations: 8 kB / 0.7264 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4587, allocations: 12.12 kB / 0.7264 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.4587, allocations: 8 kB / 0.7264 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.4591, allocations: 127.8 kB / 0.7266 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004186/0.4595, allocations: 0.6133 MB / 0.7272 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.4598, allocations: 47.56 kB / 0.7272 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/0.4598, allocations: 43.98 kB / 0.7272 GB, free: 6.871 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.000158/0.46, allocations: 145.8 kB / 0.7274 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.46, allocations: 23.84 kB / 0.7274 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.4609, allocations: 448.1 kB / 0.7278 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4609, allocations: 4 kB / 0.7278 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4609, allocations: 0 / 0.7278 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4609, allocations: 0 / 0.7278 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008528/0.4618, allocations: 0.643 MB / 0.7285 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4618, allocations: 0 / 0.7285 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.462, allocations: 63.89 kB / 0.7285 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.462, allocations: 4 kB / 0.7285 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.462, allocations: 4 kB / 0.7285 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003316/0.4623, allocations: 0.6095 MB / 0.7291 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4623, allocations: 4.031 kB / 0.7291 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.4627, allocations: 286.3 kB / 0.7294 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4628, allocations: 116.9 kB / 0.7295 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.4628, allocations: 8 kB / 0.7295 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.4631, allocations: 11.98 kB / 0.7295 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.4631, allocations: 23.92 kB / 0.7296 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.4631, allocations: 19.98 kB / 0.7296 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000121/0.4633, allocations: 143.6 kB / 0.7297 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4633, allocations: 0 / 0.7297 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005958/0.4639, allocations: 171.6 kB / 0.7299 GB, free: 3.953 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.001129/0.465, allocations: 1.006 MB / 0.7309 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.4655, allocations: 224.3 kB / 0.7311 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4655, allocations: 4 kB / 0.7311 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.4657, allocations: 80.33 kB / 0.7312 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.4662, allocations: 62.23 kB / 0.7312 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1977/0.6639, allocations: 3.057 MB / 0.7342 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.664, allocations: 0.7206 MB / 0.7349 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007596/0.6648, allocations: 375.4 kB / 0.7353 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.665, allocations: 93.31 kB / 0.7354 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.665, allocations: 2.406 kB / 0.7354 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.6953, allocations: 7.992 MB / 0.7432 GB, free: 170 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.15, allocations: 10.81 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.686853336999775]