Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.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.001385/0.001385, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001519/0.001519, allocations: 221 kB / 22.92 MB, free: 5.531 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.312/1.312, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.2003/0.2003, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",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.002203/0.002203, allocations: 87.84 kB / 0.494 GB, free: 9.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2757, allocations: 65.97 MB / 0.5584 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1546/0.4303, allocations: 152.7 MB / 0.7075 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.4318, allocations: 1.067 MB / 0.7086 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.4318, allocations: 0 / 0.7086 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.4321, allocations: 35.77 kB / 0.7086 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007412/0.4328, allocations: 280.4 kB / 0.7089 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4332, allocations: 111.6 kB / 0.709 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.4334, allocations: 179.3 kB / 0.7092 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.4335, allocations: 7.938 kB / 0.7092 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.4337, allocations: 103.6 kB / 0.7093 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.4338, allocations: 55.7 kB / 0.7093 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.4338, allocations: 4 kB / 0.7093 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/0.4344, allocations: 275.7 kB / 0.7096 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.4344, allocations: 23.97 kB / 0.7096 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.4345, allocations: 47.8 kB / 0.7097 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.435, allocations: 287.2 kB / 0.7099 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.435, allocations: 0 / 0.7099 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.435, allocations: 0 / 0.7099 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.435, allocations: 4 kB / 0.7099 GB, free: 11.86 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005315/0.4355, allocations: 407 kB / 0.7103 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.4355, allocations: 8.031 kB / 0.7103 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.4356, allocations: 38.75 kB / 0.7104 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.4377, allocations: 192.6 kB / 0.7106 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.438, allocations: 223.4 kB / 0.7108 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.438, allocations: 4 kB / 0.7108 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.438, allocations: 8 kB / 0.7108 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.4385, allocations: 221 kB / 0.711 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4385, allocations: 0 / 0.711 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.4385, allocations: 8 kB / 0.711 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4386, allocations: 3.984 kB / 0.711 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.439, allocations: 171.9 kB / 0.7112 GB, free: 10.49 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.001004/0.44, allocations: 0.5755 MB / 0.7117 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.4403, allocations: 138.5 kB / 0.7119 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.4405, allocations: 72.81 kB / 0.7119 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.4405, allocations: 3.984 kB / 0.7119 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4405, allocations: 42.44 kB / 0.712 GB, free: 9.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.4405, allocations: 0 / 0.712 GB, free: 9.586 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.005177/0.4457, allocations: 1.31 MB / 0.7133 GB, free: 8.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.4457, allocations: 51.41 kB / 0.7133 GB, free: 8.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.4458, allocations: 113.8 kB / 0.7134 GB, free: 8.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.4459, allocations: 29.7 kB / 0.7134 GB, free: 7.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.4459, allocations: 95.98 kB / 0.7135 GB, free: 7.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.446, allocations: 83.36 kB / 0.7136 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.4461, allocations: 53.69 kB / 0.7137 GB, free: 7.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4462, allocations: 322.8 kB / 0.714 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.4464, allocations: 71.97 kB / 0.714 GB, free: 7.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.4465, allocations: 100.5 kB / 0.7141 GB, free: 7.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.4469, allocations: 185.2 kB / 0.7143 GB, free: 7.035 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4469, allocations: 0 / 0.7143 GB, free: 7.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000501/0.4474, allocations: 261.9 kB / 0.7146 GB, free: 6.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4474, allocations: 4 kB / 0.7146 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4474, allocations: 3.984 kB / 0.7146 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.4476, allocations: 56.86 kB / 0.7146 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.4479, allocations: 51.95 kB / 0.7147 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004351/0.4483, allocations: 0.5679 MB / 0.7152 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.4485, allocations: 3.984 kB / 0.7152 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.4485, allocations: 28 kB / 0.7153 GB, free: 6.031 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.0001207/0.4487, allocations: 121.9 kB / 0.7154 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.4487, allocations: 23.83 kB / 0.7154 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.4494, allocations: 335.1 kB / 0.7157 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4494, allocations: 0 / 0.7157 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4494, allocations: 8 kB / 0.7157 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4494, allocations: 0 / 0.7157 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000974/0.4504, allocations: 0.6231 MB / 0.7163 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4504, allocations: 0 / 0.7163 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.4508, allocations: 71.83 kB / 0.7164 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.65e-05/0.4508, allocations: 16.84 kB / 0.7164 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.4509, allocations: 20.08 kB / 0.7164 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009978/0.4519, allocations: 1.364 MB / 0.7178 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4519, allocations: 0 / 0.7178 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.4526, allocations: 438.7 kB / 0.7182 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4526, allocations: 89 kB / 0.7183 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.4526, allocations: 4 kB / 0.7183 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.4529, allocations: 8 kB / 0.7183 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.4529, allocations: 23.97 kB / 0.7183 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.4529, allocations: 27.98 kB / 0.7183 GB, free: 2.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.453, allocations: 95.2 kB / 0.7184 GB, free: 2.512 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.453, allocations: 0 / 0.7184 GB, free: 2.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004001/0.4534, allocations: 80 kB / 0.7185 GB, free: 2.434 MB / 0.545 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 (21): * Single equations (assignments): 20 * 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.001228/0.4546, allocations: 1.017 MB / 0.7195 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.4551, allocations: 195.8 kB / 0.7197 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4551, allocations: 0 / 0.7197 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.4555, allocations: 222.5 kB / 0.7199 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.4559, allocations: 52.86 kB / 0.7199 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.4586, allocations: 2.079 MB / 0.722 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4589, allocations: 0.7085 MB / 0.7227 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002836/0.4592, allocations: 73.39 kB / 0.7227 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.4594, allocations: 67.41 kB / 0.7228 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.4594, allocations: 4 kB / 0.7228 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.4962, allocations: 7.367 MB / 0.73 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.17, allocations: 12.59 kB / 0.73 GB, free: 6.559 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_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_IdealGasN2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.790943307001726]