Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.001279/0.001279, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.001431/0.001431, allocations: 222.2 kB / 23.48 MB, free: 5.258 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.474/1.474, allocations: 230.2 MB / 256.8 MB, free: 8.574 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.2246/0.2246, allocations: 46.89 MB / 360 MB, free: 4.715 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.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.00224/0.00224, allocations: 83.86 kB / 0.4951 GB, free: 8.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3184, allocations: 65.99 MB / 0.5596 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1832/0.5016, allocations: 153.5 MB / 0.7094 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006683/0.5083, allocations: 5.174 MB / 0.7145 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.5085, allocations: 3.938 kB / 0.7145 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.5088, allocations: 51.66 kB / 0.7146 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.5126, allocations: 1.214 MB / 0.7157 GB, free: 4.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.513, allocations: 139.3 kB / 0.7159 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007365/0.5138, allocations: 402.1 kB / 0.7163 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.5138, allocations: 5.688 kB / 0.7163 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.5142, allocations: 171.3 kB / 0.7164 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.5146, allocations: 179.4 kB / 0.7166 GB, free: 3.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.5147, allocations: 8 kB / 0.7166 GB, free: 3.547 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.5171, allocations: 1.038 MB / 0.7176 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.5172, allocations: 51.75 kB / 0.7177 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.5174, allocations: 107.5 kB / 0.7178 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.5195, allocations: 0.8493 MB / 0.7186 GB, free: 1.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5195, allocations: 0 / 0.7186 GB, free: 1.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5195, allocations: 0 / 0.7186 GB, free: 1.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.5196, allocations: 4 kB / 0.7186 GB, free: 1.496 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.001643/0.5212, allocations: 0.7009 MB / 0.7193 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.5213, allocations: 12.02 kB / 0.7193 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.5214, allocations: 58.73 kB / 0.7194 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007552/0.5289, allocations: 0.6054 MB / 0.7199 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.5297, allocations: 271.2 kB / 0.7202 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.5299, allocations: 131.3 kB / 0.7203 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.53, allocations: 27.98 kB / 0.7204 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.5315, allocations: 0.5633 MB / 0.7209 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5315, allocations: 0 / 0.7209 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.5316, allocations: 12 kB / 0.7209 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.5316, allocations: 8 kB / 0.7209 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.5332, allocations: 0.626 MB / 0.7215 GB, free: 14.33 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.002605/0.5358, allocations: 1.718 MB / 0.7232 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.5362, allocations: 146.6 kB / 0.7234 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.5364, allocations: 68.83 kB / 0.7234 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000853/0.5372, allocations: 0.7003 MB / 0.7241 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5373, allocations: 38.56 kB / 0.7241 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.664e-06/0.5373, allocations: 0 / 0.7241 GB, free: 11.39 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=17): time 0.001124/0.5384, allocations: 329.1 kB / 0.7245 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.5385, allocations: 51.41 kB / 0.7245 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.5387, allocations: 195.9 kB / 0.7247 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.5387, allocations: 29.7 kB / 0.7247 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5389, allocations: 203.7 kB / 0.7249 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.5389, allocations: 63.48 kB / 0.725 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.5391, allocations: 94 kB / 0.7251 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5392, allocations: 330.8 kB / 0.7254 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.5394, allocations: 72.7 kB / 0.7254 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.5397, allocations: 260.6 kB / 0.7257 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.5402, allocations: 366.2 kB / 0.726 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5402, allocations: 0 / 0.726 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006797/0.5409, allocations: 377.5 kB / 0.7264 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.5409, allocations: 16.12 kB / 0.7264 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5409, allocations: 7.938 kB / 0.7264 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.541, allocations: 12 kB / 0.7264 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.5414, allocations: 123.9 kB / 0.7266 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004218/0.5418, allocations: 0.5977 MB / 0.7271 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.5421, allocations: 47.72 kB / 0.7272 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.5421, allocations: 36 kB / 0.7272 GB, free: 7.977 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.0001788/0.5423, allocations: 153.7 kB / 0.7274 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.5424, allocations: 19.91 kB / 0.7274 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.5432, allocations: 428.4 kB / 0.7278 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.5432, allocations: 8 kB / 0.7278 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5432, allocations: 0 / 0.7278 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5433, allocations: 3.984 kB / 0.7278 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009682/0.5442, allocations: 0.6305 MB / 0.7284 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5442, allocations: 0 / 0.7284 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.5444, allocations: 59.91 kB / 0.7285 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.5444, allocations: 4.219 kB / 0.7285 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.5445, allocations: 19.92 kB / 0.7285 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003689/0.5448, allocations: 0.5822 MB / 0.7291 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5449, allocations: 7.938 kB / 0.7291 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.5453, allocations: 297.4 kB / 0.7294 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.5454, allocations: 108.9 kB / 0.7295 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.5454, allocations: 11.94 kB / 0.7295 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.5457, allocations: 16 kB / 0.7295 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.5457, allocations: 19.86 kB / 0.7295 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.5458, allocations: 23.92 kB / 0.7295 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001412/0.5459, allocations: 140.2 kB / 0.7297 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5459, allocations: 0 / 0.7297 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007043/0.5466, allocations: 155.7 kB / 0.7298 GB, free: 5.113 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.001302/0.5479, allocations: 0.9661 MB / 0.7308 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.5485, allocations: 225.4 kB / 0.731 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5485, allocations: 0 / 0.731 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.5487, allocations: 79.83 kB / 0.731 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.5492, allocations: 66.27 kB / 0.7311 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.5533, allocations: 2.872 MB / 0.7339 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2654/0.8186, allocations: 0.7285 MB / 0.7346 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009743/0.8196, allocations: 385.2 kB / 0.735 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.8199, allocations: 91.2 kB / 0.7351 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/0.8199, allocations: 3.156 kB / 0.7351 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.8505, allocations: 7.476 MB / 0.7424 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.59, allocations: 0 / 0.7424 GB, free: 171.6 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_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_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.546444805921055] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 12.684775086003356 12.694796887 12.173031086 Calling exit ...