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.001412/0.001412, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.00153/0.00153, allocations: 215 kB / 22.92 MB, free: 5.191 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.298/1.298, allocations: 230.2 MB / 256.2 MB, free: 8.621 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.2023/0.2023, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.002136/0.002136, allocations: 83.86 kB / 0.494 GB, free: 9.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2615, allocations: 65.99 MB / 0.5584 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1637/0.4252, allocations: 152.7 MB / 0.7075 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.4266, allocations: 1.063 MB / 0.7086 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.4266, allocations: 0 / 0.7086 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.4269, allocations: 43.69 kB / 0.7086 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006084/0.4275, allocations: 284.4 kB / 0.7089 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.4278, allocations: 107.7 kB / 0.709 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.4281, allocations: 179.2 kB / 0.7092 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.4281, allocations: 11.92 kB / 0.7092 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.4283, allocations: 95.62 kB / 0.7093 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.4284, allocations: 59.75 kB / 0.7093 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.4284, allocations: 4 kB / 0.7093 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.4289, allocations: 271.7 kB / 0.7096 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.429, allocations: 31.91 kB / 0.7096 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.4291, allocations: 43.8 kB / 0.7097 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.4295, allocations: 283.2 kB / 0.7099 GB, free: 9.473 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4295, allocations: 0 / 0.7099 GB, free: 9.473 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4295, allocations: 0 / 0.7099 GB, free: 9.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4295, allocations: 8 kB / 0.7099 GB, free: 9.465 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.0005104/0.43, allocations: 407 kB / 0.7103 GB, free: 9.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.43, allocations: 12.03 kB / 0.7103 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.4301, allocations: 42.73 kB / 0.7104 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.4321, allocations: 192.6 kB / 0.7106 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.4324, allocations: 211.4 kB / 0.7108 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.4324, allocations: 8 kB / 0.7108 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.4325, allocations: 12 kB / 0.7108 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.433, allocations: 220 kB / 0.711 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.433, allocations: 0 / 0.711 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.433, allocations: 4 kB / 0.711 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.433, allocations: 4 kB / 0.711 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.4334, allocations: 171.8 kB / 0.7112 GB, free: 8.098 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.000985/0.4344, allocations: 0.5794 MB / 0.7117 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.4348, allocations: 138.5 kB / 0.7119 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.4349, allocations: 76.77 kB / 0.7119 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4349, allocations: 0 / 0.7119 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4349, allocations: 30.56 kB / 0.712 GB, free: 7.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 9.21e-07/0.4349, allocations: 4 kB / 0.712 GB, free: 7.195 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.005172/0.4401, allocations: 1.308 MB / 0.7133 GB, free: 5.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.4402, allocations: 59.39 kB / 0.7133 GB, free: 5.727 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.4402, allocations: 113.8 kB / 0.7134 GB, free: 5.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4403, allocations: 29.64 kB / 0.7134 GB, free: 5.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.4403, allocations: 95.98 kB / 0.7135 GB, free: 5.473 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.4404, allocations: 75.41 kB / 0.7136 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.4405, allocations: 57.66 kB / 0.7137 GB, free: 5.336 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4406, allocations: 326.8 kB / 0.714 GB, free: 5.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.4408, allocations: 71.89 kB / 0.714 GB, free: 4.938 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.441, allocations: 110.5 kB / 0.7141 GB, free: 4.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.4413, allocations: 183.3 kB / 0.7143 GB, free: 4.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4413, allocations: 0 / 0.7143 GB, free: 4.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004892/0.4418, allocations: 253.7 kB / 0.7146 GB, free: 4.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4418, allocations: 10.5 kB / 0.7146 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4418, allocations: 4.094 kB / 0.7146 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.442, allocations: 52.83 kB / 0.7146 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.4423, allocations: 51.91 kB / 0.7147 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004313/0.4427, allocations: 0.5601 MB / 0.7152 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.4429, allocations: 8.031 kB / 0.7152 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.4429, allocations: 32.08 kB / 0.7153 GB, free: 3.633 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.0001136/0.443, allocations: 125.8 kB / 0.7154 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.4431, allocations: 11.89 kB / 0.7154 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.4438, allocations: 343 kB / 0.7157 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4438, allocations: 4 kB / 0.7157 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4438, allocations: 0 / 0.7157 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4438, allocations: 3.984 kB / 0.7157 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.4448, allocations: 0.6309 MB / 0.7163 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4448, allocations: 0 / 0.7163 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.4451, allocations: 55.95 kB / 0.7164 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.816e-05/0.4452, allocations: 24.88 kB / 0.7164 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.4452, allocations: 16 kB / 0.7164 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.4462, allocations: 1.364 MB / 0.7178 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4462, allocations: 3.938 kB / 0.7178 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.4469, allocations: 430.7 kB / 0.7182 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.447, allocations: 89.08 kB / 0.7183 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.447, allocations: 8 kB / 0.7183 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.4472, allocations: 8 kB / 0.7183 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.4473, allocations: 23.91 kB / 0.7183 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.4473, allocations: 31.98 kB / 0.7183 GB, free: 212 kB / 0.545 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.4474, allocations: 91.53 kB / 0.7184 GB, free: 120 kB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4474, allocations: 64 / 0.7184 GB, free: 120 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.000369/0.4477, allocations: 83.92 kB / 0.7185 GB, free: 36 kB / 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.001192/0.4489, allocations: 1.011 MB / 0.7195 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.4494, allocations: 199.8 kB / 0.7197 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4494, allocations: 0 / 0.7197 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.4497, allocations: 215.6 kB / 0.7199 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.4501, allocations: 44.56 kB / 0.7199 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.4527, allocations: 2.093 MB / 0.722 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.453, allocations: 0.7085 MB / 0.7227 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002612/0.4533, allocations: 69.39 kB / 0.7227 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.4535, allocations: 71.39 kB / 0.7228 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.4535, allocations: 0 / 0.7228 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.489, allocations: 7.366 MB / 0.73 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.28, allocations: 7.812 kB / 0.73 GB, free: 4.145 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.96580046400777]