Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001265/0.001265, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001539/0.001539, allocations: 221.3 kB / 23 MB, free: 5.582 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.457/1.457, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.2225/0.2225, allocations: 46.88 MB / 359.4 MB, free: 4.895 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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002551/0.002551, allocations: 75.86 kB / 0.4941 GB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3416, allocations: 65.99 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1866/0.5282, allocations: 152.9 MB / 0.7079 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.5302, allocations: 1.616 MB / 0.7095 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.5302, allocations: 0 / 0.7095 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.5306, allocations: 47.73 kB / 0.7095 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.5316, allocations: 419.8 kB / 0.7099 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.5321, allocations: 163.5 kB / 0.7101 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.5323, allocations: 183.3 kB / 0.7103 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.5324, allocations: 8 kB / 0.7103 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.5326, allocations: 87.62 kB / 0.7103 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.5327, allocations: 59.8 kB / 0.7104 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.5327, allocations: 8 kB / 0.7104 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.5338, allocations: 0.6158 MB / 0.711 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.5338, allocations: 27.91 kB / 0.711 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.5339, allocations: 59.72 kB / 0.7111 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.5345, allocations: 406.9 kB / 0.7115 GB, free: 7.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5345, allocations: 0 / 0.7115 GB, free: 7.957 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5345, allocations: 4 kB / 0.7115 GB, free: 7.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5345, allocations: 4 kB / 0.7115 GB, free: 7.949 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005834/0.5351, allocations: 430.9 kB / 0.7119 GB, free: 7.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5352, allocations: 12.03 kB / 0.7119 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.5352, allocations: 42.73 kB / 0.7119 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.5374, allocations: 200.6 kB / 0.7121 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.5377, allocations: 215.5 kB / 0.7123 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5377, allocations: 11.94 kB / 0.7124 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.5377, allocations: 8 kB / 0.7124 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.5382, allocations: 208.8 kB / 0.7126 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5382, allocations: 0 / 0.7126 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.5382, allocations: 3.938 kB / 0.7126 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.5382, allocations: 4 kB / 0.7126 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.5388, allocations: 235.8 kB / 0.7128 GB, free: 6.508 MB / 0.545 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.001728/0.5406, allocations: 0.6591 MB / 0.7134 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.541, allocations: 182.5 kB / 0.7136 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.5413, allocations: 96.81 kB / 0.7137 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.5414, allocations: 89.09 kB / 0.7138 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.5415, allocations: 38.56 kB / 0.7138 GB, free: 5.355 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.5415, allocations: 0 / 0.7138 GB, free: 5.355 MB / 0.545 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.00576/0.5472, allocations: 1.541 MB / 0.7153 GB, free: 3.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.5473, allocations: 55.39 kB / 0.7154 GB, free: 3.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5474, allocations: 109.8 kB / 0.7155 GB, free: 3.516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.5474, allocations: 33.7 kB / 0.7155 GB, free: 3.477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.5475, allocations: 100.4 kB / 0.7156 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.5476, allocations: 71.36 kB / 0.7157 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5477, allocations: 41.7 kB / 0.7157 GB, free: 3.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5478, allocations: 322.8 kB / 0.716 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.5481, allocations: 91.95 kB / 0.7161 GB, free: 2.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.5483, allocations: 128.6 kB / 0.7162 GB, free: 2.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.5488, allocations: 223.2 kB / 0.7165 GB, free: 2.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5488, allocations: 0 / 0.7165 GB, free: 2.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006455/0.5494, allocations: 289.7 kB / 0.7167 GB, free: 2.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5495, allocations: 7.984 kB / 0.7167 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5495, allocations: 7.938 kB / 0.7168 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.5496, allocations: 20.84 kB / 0.7168 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.55, allocations: 55.91 kB / 0.7168 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004088/0.5505, allocations: 0.5368 MB / 0.7173 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.5507, allocations: 15.95 kB / 0.7174 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.5508, allocations: 8 kB / 0.7174 GB, free: 1.508 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001331/0.5509, allocations: 121.8 kB / 0.7175 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.5509, allocations: 7.953 kB / 0.7175 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.5518, allocations: 321.4 kB / 0.7178 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5518, allocations: 0 / 0.7178 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5518, allocations: 0 / 0.7178 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5518, allocations: 4 kB / 0.7178 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.553, allocations: 0.6821 MB / 0.7185 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.553, allocations: 0 / 0.7185 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.5534, allocations: 52.05 kB / 0.7185 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-05/0.5535, allocations: 24.78 kB / 0.7185 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.5535, allocations: 8 kB / 0.7186 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.5547, allocations: 1.368 MB / 0.7199 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5547, allocations: 4.031 kB / 0.7199 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.5556, allocations: 442.8 kB / 0.7203 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.5557, allocations: 93.08 kB / 0.7204 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.5557, allocations: 8 kB / 0.7204 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.5561, allocations: 11.94 kB / 0.7204 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.5561, allocations: 20.03 kB / 0.7204 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.5561, allocations: 15.94 kB / 0.7205 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.853e-05/0.5562, allocations: 87.58 kB / 0.7205 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5562, allocations: 4 kB / 0.7205 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005558/0.5568, allocations: 135.7 kB / 0.7207 GB, free: 13.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001793/0.5585, allocations: 1.134 MB / 0.7218 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006707/0.5592, allocations: 227.7 kB / 0.722 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5592, allocations: 4.188 kB / 0.722 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.5596, allocations: 226.6 kB / 0.7222 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.5601, allocations: 48.12 kB / 0.7223 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.5633, allocations: 2.137 MB / 0.7243 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.5638, allocations: 0.7163 MB / 0.725 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000297/0.5641, allocations: 49.39 kB / 0.7251 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.5642, allocations: 43.41 kB / 0.7251 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.5642, allocations: 0 / 0.7251 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.6, allocations: 8.026 MB / 0.733 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.58, allocations: 0 / 0.733 GB, free: 1.141 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.599767710984452] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 12.943577377998736 12.95460686 12.417670724 Calling exit ...