Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001414/0.001414, allocations: 105 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.001564/0.001564, allocations: 214.8 kB / 22.92 MB, free: 5.195 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.286/1.286, allocations: 230.2 MB / 256.2 MB, free: 8.582 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.1943/0.1943, allocations: 46.89 MB / 359.3 MB, free: 4.953 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.002122/0.002122, allocations: 80.05 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2519, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1549/0.4069, allocations: 153.3 MB / 0.7081 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003673/0.4105, allocations: 3.279 MB / 0.7113 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.4106, allocations: 0 / 0.7113 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.4109, allocations: 55.66 kB / 0.7113 GB, free: 8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.413, allocations: 1.081 MB / 0.7124 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.4135, allocations: 199.1 kB / 0.7126 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.4139, allocations: 366.6 kB / 0.7129 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.414, allocations: 13.09 kB / 0.7129 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.4142, allocations: 159.4 kB / 0.7131 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.4144, allocations: 127.5 kB / 0.7132 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.4145, allocations: 12 kB / 0.7132 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.4171, allocations: 1.594 MB / 0.7148 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.4172, allocations: 83.7 kB / 0.7149 GB, free: 4.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4173, allocations: 111.6 kB / 0.715 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.4186, allocations: 1.011 MB / 0.7159 GB, free: 3.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4186, allocations: 4 kB / 0.7159 GB, free: 3.258 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4186, allocations: 0 / 0.7159 GB, free: 3.258 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4186, allocations: 0 / 0.7159 GB, free: 3.258 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007999/0.4194, allocations: 0.5631 MB / 0.7165 GB, free: 2.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.4195, allocations: 8.031 kB / 0.7165 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.4195, allocations: 58.73 kB / 0.7166 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.4209, allocations: 204.6 kB / 0.7168 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.4211, allocations: 263.6 kB / 0.717 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.4212, allocations: 12.38 kB / 0.717 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.4212, allocations: 23.98 kB / 0.717 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.4218, allocations: 380.9 kB / 0.7174 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4218, allocations: 3.984 kB / 0.7174 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.4218, allocations: 8 kB / 0.7174 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.4219, allocations: 11.94 kB / 0.7174 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.4224, allocations: 420.4 kB / 0.7178 GB, free: 1.23 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.001555/0.424, allocations: 0.8215 MB / 0.7186 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.4244, allocations: 225.1 kB / 0.7188 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.4245, allocations: 125.6 kB / 0.719 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.4262, allocations: 0.9763 MB / 0.7199 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4263, allocations: 38.56 kB / 0.72 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.4263, allocations: 4 kB / 0.72 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001141/0.4274, allocations: 377.2 kB / 0.7203 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4275, allocations: 81.11 kB / 0.7204 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.4275, allocations: 125.7 kB / 0.7205 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.4276, allocations: 33.7 kB / 0.7205 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.4276, allocations: 108.6 kB / 0.7207 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/0.4277, allocations: 119 kB / 0.7208 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.4278, allocations: 70.02 kB / 0.7208 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4279, allocations: 326.8 kB / 0.7211 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4281, allocations: 108 kB / 0.7212 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.4284, allocations: 186.9 kB / 0.7214 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.4288, allocations: 308.5 kB / 0.7217 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4289, allocations: 4 kB / 0.7217 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006049/0.4295, allocations: 353.1 kB / 0.7221 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4295, allocations: 8 kB / 0.7221 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4295, allocations: 3.938 kB / 0.7221 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4295, allocations: 8 kB / 0.7221 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.4298, allocations: 71.91 kB / 0.7221 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4298, allocations: 7.984 kB / 0.7222 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.43, allocations: 31.78 kB / 0.7222 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.4301, allocations: 12.31 kB / 0.7222 GB, free: 12.37 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.4302, allocations: 149.7 kB / 0.7223 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.4303, allocations: 15.91 kB / 0.7224 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.4309, allocations: 348.3 kB / 0.7227 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4309, allocations: 4 kB / 0.7227 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.431, allocations: 0 / 0.7227 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.431, allocations: 0 / 0.7227 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.4315, allocations: 339.1 kB / 0.723 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4315, allocations: 7.938 kB / 0.723 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.4318, allocations: 47.97 kB / 0.7231 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4318, allocations: 4 kB / 0.7231 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.4319, allocations: 15.98 kB / 0.7231 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4319, allocations: 0 / 0.7231 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4319, allocations: 0 / 0.7231 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.4327, allocations: 0.5335 MB / 0.7236 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.4327, allocations: 92.98 kB / 0.7237 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.4327, allocations: 8.062 kB / 0.7237 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.4331, allocations: 23.97 kB / 0.7237 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.4331, allocations: 19.92 kB / 0.7237 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.4331, allocations: 19.92 kB / 0.7238 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.597e-05/0.4332, allocations: 95.25 kB / 0.7239 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4332, allocations: 0 / 0.7239 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006896/0.4339, allocations: 235.4 kB / 0.7241 GB, free: 10.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001822/0.4357, allocations: 1.406 MB / 0.7255 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.4362, allocations: 251.8 kB / 0.7257 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4362, allocations: 3.938 kB / 0.7257 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.4364, allocations: 143.7 kB / 0.7258 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.437, allocations: 94.91 kB / 0.7259 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.4402, allocations: 2.728 MB / 0.7286 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4405, allocations: 0.7324 MB / 0.7293 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002665/0.4408, allocations: 74.02 kB / 0.7294 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4409, allocations: 67.41 kB / 0.7294 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.4409, allocations: 0 / 0.7294 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2225/0.6634, allocations: 10.95 MB / 0.7401 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/8.051, allocations: 6.125 kB / 0.7401 GB, free: 172.5 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.500934525000048]