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.001853/0.001853, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002229/0.002229, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.471/1.471, allocations: 230.4 MB / 254.7 MB, free: 15 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.2379/0.2379, allocations: 46.93 MB / 357.7 MB, free: 10.18 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.002248/0.002248, allocations: 83.86 kB / 0.4917 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.153, allocations: 66.04 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5052/0.6583, allocations: 153.5 MB / 0.706 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.6647, allocations: 5.161 MB / 0.7111 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.6648, allocations: 7.938 kB / 0.7111 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.6652, allocations: 47.66 kB / 0.7111 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.6687, allocations: 1.204 MB / 0.7123 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.6691, allocations: 152.4 kB / 0.7125 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.6697, allocations: 398.1 kB / 0.7128 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.6698, allocations: 13.66 kB / 0.7129 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.6701, allocations: 175.3 kB / 0.713 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.6704, allocations: 175.5 kB / 0.7132 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.6704, allocations: 8 kB / 0.7132 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.6726, allocations: 1.038 MB / 0.7142 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.6726, allocations: 47.77 kB / 0.7143 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.6728, allocations: 107.5 kB / 0.7144 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.6743, allocations: 0.8528 MB / 0.7152 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6743, allocations: 3.938 kB / 0.7152 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6743, allocations: 0 / 0.7152 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6743, allocations: 0 / 0.7152 GB, free: 14.2 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001489/0.6758, allocations: 0.6931 MB / 0.7159 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6759, allocations: 12.03 kB / 0.7159 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.676, allocations: 62.72 kB / 0.7159 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008146/0.6841, allocations: 0.6059 MB / 0.7165 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.6847, allocations: 271.5 kB / 0.7168 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.6848, allocations: 123.4 kB / 0.7169 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/0.6849, allocations: 20 kB / 0.7169 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.6862, allocations: 0.5634 MB / 0.7175 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6862, allocations: 4 kB / 0.7175 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.6863, allocations: 8 kB / 0.7175 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.6863, allocations: 8 kB / 0.7175 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.6879, allocations: 0.6376 MB / 0.7181 GB, free: 11.04 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.002502/0.6904, allocations: 1.711 MB / 0.7198 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.6908, allocations: 154.5 kB / 0.7199 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.691, allocations: 64.83 kB / 0.72 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/0.6918, allocations: 0.7004 MB / 0.7207 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.6918, allocations: 38.55 kB / 0.7207 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.983e-06/0.6918, allocations: 0 / 0.7207 GB, free: 8.105 MB / 0.5294 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.6929, allocations: 319.1 kB / 0.721 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.693, allocations: 55.41 kB / 0.7211 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.6932, allocations: 199.5 kB / 0.7213 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.6933, allocations: 29.7 kB / 0.7213 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.6934, allocations: 199.7 kB / 0.7215 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/0.6935, allocations: 63.47 kB / 0.7216 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.6936, allocations: 98 kB / 0.7216 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6938, allocations: 326.8 kB / 0.722 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.694, allocations: 64.7 kB / 0.722 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.6943, allocations: 268.5 kB / 0.7223 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.6949, allocations: 363.6 kB / 0.7226 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.6949, allocations: 4 kB / 0.7226 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007023/0.6956, allocations: 377.6 kB / 0.723 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6956, allocations: 8 kB / 0.723 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.6956, allocations: 8 kB / 0.723 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.6956, allocations: 11.94 kB / 0.723 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.696, allocations: 124.5 kB / 0.7231 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004457/0.6965, allocations: 0.6055 MB / 0.7237 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.6967, allocations: 43.73 kB / 0.7238 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.6968, allocations: 43.98 kB / 0.7238 GB, free: 4.684 MB / 0.5294 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.0001617/0.697, allocations: 153.5 kB / 0.724 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.697, allocations: 15.91 kB / 0.724 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008477/0.6979, allocations: 435.2 kB / 0.7244 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6979, allocations: 0 / 0.7244 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6979, allocations: 0 / 0.7244 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6979, allocations: 0 / 0.7244 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.6989, allocations: 0.631 MB / 0.725 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6989, allocations: 7.984 kB / 0.725 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.6991, allocations: 59.91 kB / 0.7251 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6991, allocations: 4 kB / 0.7251 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.6991, allocations: 4 kB / 0.7251 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004021/0.6995, allocations: 0.6056 MB / 0.7257 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6995, allocations: 4.031 kB / 0.7257 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.7, allocations: 290.8 kB / 0.7259 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.7001, allocations: 112.9 kB / 0.7261 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.7001, allocations: 11.95 kB / 0.7261 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.7004, allocations: 10.8 kB / 0.7261 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.7004, allocations: 15.98 kB / 0.7261 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.7004, allocations: 19.98 kB / 0.7261 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001535/0.7006, allocations: 148.1 kB / 0.7262 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7006, allocations: 4 kB / 0.7263 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006398/0.7012, allocations: 147.7 kB / 0.7264 GB, free: 1.844 MB / 0.5294 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.00113/0.7024, allocations: 0.9482 MB / 0.7273 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.7029, allocations: 229.7 kB / 0.7275 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7029, allocations: 0 / 0.7275 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.7031, allocations: 85.27 kB / 0.7276 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.7036, allocations: 54.98 kB / 0.7277 GB, free: 500 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.7077, allocations: 2.881 MB / 0.7305 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.7081, allocations: 0.7285 MB / 0.7312 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006615/0.7087, allocations: 385.8 kB / 0.7316 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.7089, allocations: 91.36 kB / 0.7317 GB, free: 12.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.7089, allocations: 0 / 0.7317 GB, free: 12.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.7452, allocations: 7.441 MB / 0.7389 GB, free: 4.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.45, allocations: 2.75 kB / 0.7389 GB, free: 4.793 MB / 0.545 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.584932025987655] 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.549193819053471 12.574077742 11.895011581 Calling exit ...