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.001416/0.001416, 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.001564/0.001564, allocations: 219.2 kB / 22.92 MB, free: 5.539 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.758 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.1968/0.1968, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.002146/0.002146, allocations: 83.86 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2589, allocations: 65.98 MB / 0.5584 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1607/0.4196, allocations: 153.3 MB / 0.7081 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.4233, allocations: 3.267 MB / 0.7113 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.4234, allocations: 4 kB / 0.7113 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.4237, allocations: 59.64 kB / 0.7113 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.4259, allocations: 1.081 MB / 0.7124 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.4263, allocations: 195.1 kB / 0.7126 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.4267, allocations: 366.6 kB / 0.7129 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.4267, allocations: 9.109 kB / 0.7129 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.427, allocations: 159.4 kB / 0.7131 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.4272, allocations: 131.5 kB / 0.7132 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.4273, allocations: 12 kB / 0.7132 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.4299, allocations: 1.594 MB / 0.7148 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.43, allocations: 79.7 kB / 0.7148 GB, free: 4.562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.4302, allocations: 111.6 kB / 0.715 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.4318, allocations: 1.027 MB / 0.716 GB, free: 3.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4318, allocations: 0 / 0.716 GB, free: 3.426 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4318, allocations: 0 / 0.716 GB, free: 3.426 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.4318, allocations: 0 / 0.716 GB, free: 3.426 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.0009345/0.4327, allocations: 0.5568 MB / 0.7165 GB, free: 2.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4328, allocations: 20.02 kB / 0.7165 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.544e-05/0.4328, allocations: 50.73 kB / 0.7166 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.4342, allocations: 204.6 kB / 0.7168 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.4345, allocations: 255.6 kB / 0.717 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.4346, allocations: 20.31 kB / 0.717 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.4346, allocations: 16 kB / 0.717 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.4352, allocations: 392.9 kB / 0.7174 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4352, allocations: 0 / 0.7174 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.4353, allocations: 8 kB / 0.7174 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.4353, allocations: 12 kB / 0.7174 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.4359, allocations: 416.4 kB / 0.7178 GB, free: 1.402 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.001627/0.4375, allocations: 0.8292 MB / 0.7186 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.4379, allocations: 213.1 kB / 0.7188 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.4381, allocations: 125.7 kB / 0.719 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/0.4399, allocations: 0.9801 MB / 0.7199 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4399, allocations: 38.56 kB / 0.72 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.4399, allocations: 0 / 0.72 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001204/0.4411, allocations: 385.2 kB / 0.7203 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.4412, allocations: 81.11 kB / 0.7204 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.4413, allocations: 117.8 kB / 0.7205 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.4413, allocations: 33.7 kB / 0.7205 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.4414, allocations: 116.5 kB / 0.7207 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.4415, allocations: 111 kB / 0.7208 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4416, allocations: 70 kB / 0.7208 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4417, allocations: 326.8 kB / 0.7211 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.4419, allocations: 108 kB / 0.7212 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.4422, allocations: 190.9 kB / 0.7214 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.4426, allocations: 312.6 kB / 0.7217 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4426, allocations: 0 / 0.7217 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006505/0.4433, allocations: 349.1 kB / 0.7221 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4433, allocations: 10.03 kB / 0.7221 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4433, allocations: 8.312 kB / 0.7221 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4433, allocations: 4 kB / 0.7221 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.4437, allocations: 79.83 kB / 0.7222 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4437, allocations: 7.938 kB / 0.7222 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4439, allocations: 23.84 kB / 0.7222 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.4439, allocations: 19.98 kB / 0.7222 GB, free: 12.54 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.0001393/0.4441, allocations: 141.7 kB / 0.7223 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.81e-05/0.4442, allocations: 15.91 kB / 0.7224 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.4448, allocations: 338.1 kB / 0.7227 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4448, allocations: 11.94 kB / 0.7227 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4448, allocations: 0 / 0.7227 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4449, allocations: 4 kB / 0.7227 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.4454, allocations: 339.1 kB / 0.723 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4454, allocations: 4 kB / 0.723 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.4457, allocations: 51.91 kB / 0.7231 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4458, allocations: 4 kB / 0.7231 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.4458, allocations: 11.98 kB / 0.7231 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4458, allocations: 3.984 kB / 0.7231 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4458, allocations: 0 / 0.7231 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/0.4466, allocations: 0.5375 MB / 0.7236 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.4466, allocations: 92.94 kB / 0.7237 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.4467, allocations: 12 kB / 0.7237 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.447, allocations: 11.98 kB / 0.7237 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.447, allocations: 19.97 kB / 0.7237 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.4471, allocations: 23.92 kB / 0.7238 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.4471, allocations: 91.27 kB / 0.7239 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4471, allocations: 0 / 0.7239 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007572/0.4479, allocations: 243.4 kB / 0.7241 GB, free: 10.5 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.001948/0.4498, allocations: 1.394 MB / 0.7254 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.4503, allocations: 254.6 kB / 0.7257 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4503, allocations: 8.062 kB / 0.7257 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.4505, allocations: 139.7 kB / 0.7258 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.4512, allocations: 96.2 kB / 0.7259 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.4546, allocations: 2.717 MB / 0.7286 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.455, allocations: 0.7402 MB / 0.7293 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002815/0.4553, allocations: 81.89 kB / 0.7294 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.4554, allocations: 63.41 kB / 0.7294 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.4554, allocations: 0 / 0.7294 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2246/0.6799, allocations: 10.95 MB / 0.7401 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/8.13, allocations: 2.062 kB / 0.7401 GB, free: 172.6 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir_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_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.670407547004288]