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.001303/0.001303, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001426/0.001426, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.394/1.394, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2875/0.2875, allocations: 46.93 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 179] 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.002239/0.002239, allocations: 83.86 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3211, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.191/0.5121, allocations: 152.9 MB / 0.7108 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.5142, allocations: 1.608 MB / 0.7124 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.5142, allocations: 4 kB / 0.7124 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.5146, allocations: 47.72 kB / 0.7125 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.5156, allocations: 420 kB / 0.7129 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.5161, allocations: 167.5 kB / 0.713 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.5163, allocations: 191.2 kB / 0.7132 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.5164, allocations: 7.938 kB / 0.7132 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.5165, allocations: 83.69 kB / 0.7133 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.5167, allocations: 59.81 kB / 0.7134 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.5167, allocations: 4 kB / 0.7134 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5178, allocations: 0.6352 MB / 0.714 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.5179, allocations: 27.91 kB / 0.714 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.518, allocations: 55.78 kB / 0.7141 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.5186, allocations: 418.8 kB / 0.7145 GB, free: 7.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5186, allocations: 4 kB / 0.7145 GB, free: 7.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5186, allocations: 0 / 0.7145 GB, free: 7.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.5186, allocations: 0 / 0.7145 GB, free: 7.078 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.0005702/0.5192, allocations: 361.7 kB / 0.7148 GB, free: 6.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5193, allocations: 8.031 kB / 0.7148 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.5193, allocations: 42.73 kB / 0.7149 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.5214, allocations: 200.6 kB / 0.715 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.5217, allocations: 161.7 kB / 0.7152 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.5217, allocations: 8 kB / 0.7152 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.5217, allocations: 8 kB / 0.7152 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.5222, allocations: 193.5 kB / 0.7154 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5222, allocations: 4 kB / 0.7154 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.5223, allocations: 11.92 kB / 0.7154 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5223, allocations: 0 / 0.7154 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.5229, allocations: 235.9 kB / 0.7156 GB, free: 5.801 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.001713/0.5246, allocations: 0.6057 MB / 0.7162 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.5251, allocations: 186.5 kB / 0.7164 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.5253, allocations: 88.83 kB / 0.7165 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.5254, allocations: 15.98 kB / 0.7165 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.5254, allocations: 30.56 kB / 0.7165 GB, free: 4.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.5254, allocations: 0 / 0.7165 GB, free: 4.816 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.005749/0.5312, allocations: 1.402 MB / 0.7179 GB, free: 3.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.5312, allocations: 55.34 kB / 0.718 GB, free: 3.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.5313, allocations: 117.8 kB / 0.7181 GB, free: 3.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.5314, allocations: 25.7 kB / 0.7181 GB, free: 3.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.5314, allocations: 100.4 kB / 0.7182 GB, free: 3.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.5315, allocations: 67.42 kB / 0.7183 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.5316, allocations: 49.64 kB / 0.7183 GB, free: 2.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5318, allocations: 318.8 kB / 0.7186 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.532, allocations: 87.95 kB / 0.7187 GB, free: 2.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.5322, allocations: 127.4 kB / 0.7188 GB, free: 2.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.5327, allocations: 230.2 kB / 0.719 GB, free: 2.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5327, allocations: 4 kB / 0.719 GB, free: 2.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006407/0.5333, allocations: 278.3 kB / 0.7193 GB, free: 1.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5334, allocations: 6.031 kB / 0.7193 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5334, allocations: 4 kB / 0.7193 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.5335, allocations: 28.78 kB / 0.7193 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.534, allocations: 52.06 kB / 0.7194 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004207/0.5344, allocations: 0.5406 MB / 0.7199 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.5346, allocations: 15.98 kB / 0.7199 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.5347, allocations: 4 kB / 0.7199 GB, free: 1.156 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.0001354/0.5348, allocations: 126.8 kB / 0.7201 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.5349, allocations: 7.953 kB / 0.7201 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.5356, allocations: 317.4 kB / 0.7204 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.5356, allocations: 4 kB / 0.7204 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5356, allocations: 0 / 0.7204 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5356, allocations: 3.984 kB / 0.7204 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.5368, allocations: 0.6435 MB / 0.721 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5368, allocations: 4.094 kB / 0.721 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.5373, allocations: 59.83 kB / 0.7211 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.49e-05/0.5373, allocations: 20.84 kB / 0.7211 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.5374, allocations: 4 kB / 0.7211 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.5384, allocations: 1.271 MB / 0.7223 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5384, allocations: 0 / 0.7223 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.5393, allocations: 454.8 kB / 0.7228 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.5393, allocations: 7.984 kB / 0.7228 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.5393, allocations: 7.984 kB / 0.7228 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.5396, allocations: 12.06 kB / 0.7228 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.5397, allocations: 15.97 kB / 0.7228 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.5397, allocations: 11.98 kB / 0.7228 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.5398, allocations: 87.28 kB / 0.7229 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.5398, allocations: 0 / 0.7229 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000524/0.5403, allocations: 135.7 kB / 0.723 GB, free: 13.76 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.00174/0.542, allocations: 1.145 MB / 0.7241 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.5427, allocations: 229.6 kB / 0.7244 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5427, allocations: 0 / 0.7244 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.5431, allocations: 232.8 kB / 0.7246 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.5435, allocations: 52.67 kB / 0.7246 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.5467, allocations: 2.136 MB / 0.7267 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.547, allocations: 0.7125 MB / 0.7274 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.5473, allocations: 49.39 kB / 0.7275 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.5475, allocations: 35.42 kB / 0.7275 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of SimCode: time 5.1e-07/0.5475, allocations: 0 / 0.7275 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.5843, allocations: 8.142 MB / 0.7355 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.79, allocations: 16.11 kB / 0.7355 GB, free: 0.9219 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.916696215048432] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 13.104208386037499 13.115539893 12.594470143 Calling exit ...