Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.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.001173/0.001173, 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.001286/0.001286, allocations: 214.7 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.299/1.299, allocations: 230.2 MB / 256.1 MB, free: 8.578 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.2029/0.2029, allocations: 46.9 MB / 359.3 MB, free: 4.91 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.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",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.002156/0.002156, allocations: 87.84 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2512, allocations: 65.97 MB / 0.5584 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.159/0.4102, allocations: 153 MB / 0.7079 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.4127, allocations: 2.216 MB / 0.71 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.4128, allocations: 4 kB / 0.71 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.4131, allocations: 55.66 kB / 0.7101 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.4143, allocations: 0.6375 MB / 0.7107 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.4146, allocations: 107.5 kB / 0.7108 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.4149, allocations: 259 kB / 0.711 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.4149, allocations: 4 kB / 0.7111 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.4152, allocations: 151.4 kB / 0.7112 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.4153, allocations: 91.7 kB / 0.7113 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.4154, allocations: 16 kB / 0.7113 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.4167, allocations: 0.8845 MB / 0.7122 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.4168, allocations: 83.77 kB / 0.7122 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.4169, allocations: 95.66 kB / 0.7123 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.4178, allocations: 0.6642 MB / 0.713 GB, free: 6.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4178, allocations: 0 / 0.713 GB, free: 6.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4178, allocations: 0 / 0.713 GB, free: 6.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4178, allocations: 0 / 0.713 GB, free: 6.266 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00072/0.4185, allocations: 0.5064 MB / 0.7135 GB, free: 5.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4185, allocations: 12.03 kB / 0.7135 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.73e-05/0.4186, allocations: 50.73 kB / 0.7135 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.4204, allocations: 280.5 kB / 0.7138 GB, free: 5.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.4208, allocations: 283.6 kB / 0.7141 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4208, allocations: 8.328 kB / 0.7141 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.4209, allocations: 20 kB / 0.7141 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.4216, allocations: 0.489 MB / 0.7146 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4216, allocations: 3.938 kB / 0.7146 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.4217, allocations: 12 kB / 0.7146 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.4217, allocations: 8 kB / 0.7146 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.4225, allocations: 0.5777 MB / 0.7152 GB, free: 3.922 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.001994/0.4245, allocations: 1.008 MB / 0.7162 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.4249, allocations: 233.1 kB / 0.7164 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.4251, allocations: 181.6 kB / 0.7165 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000846/0.4259, allocations: 391.3 kB / 0.7169 GB, free: 1.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.426, allocations: 42.5 kB / 0.717 GB, free: 1.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.426, allocations: 0 / 0.717 GB, free: 1.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002138/0.4281, allocations: 0.5938 MB / 0.7175 GB, free: 1.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.4282, allocations: 85.05 kB / 0.7176 GB, free: 1.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4283, allocations: 125.8 kB / 0.7177 GB, free: 1.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.4283, allocations: 33.7 kB / 0.7178 GB, free: 1.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.4284, allocations: 120.4 kB / 0.7179 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/0.4285, allocations: 119 kB / 0.718 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.4286, allocations: 69.48 kB / 0.7181 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4287, allocations: 334.8 kB / 0.7184 GB, free: 432 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.429, allocations: 179.9 kB / 0.7186 GB, free: 252 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.4294, allocations: 292.5 kB / 0.7188 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.4302, allocations: 496.8 kB / 0.7193 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4302, allocations: 0 / 0.7193 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009232/0.4311, allocations: 0.5219 MB / 0.7198 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4311, allocations: 8 kB / 0.7198 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4311, allocations: 0 / 0.7198 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4311, allocations: 8 kB / 0.7198 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.4316, allocations: 83.89 kB / 0.7199 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4317, allocations: 7.984 kB / 0.7199 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.432, allocations: 35.77 kB / 0.72 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.4321, allocations: 20 kB / 0.72 GB, free: 14.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * 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.0001471/0.4322, allocations: 149.7 kB / 0.7201 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4323, allocations: 19.91 kB / 0.7201 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009171/0.4332, allocations: 493.5 kB / 0.7206 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4332, allocations: 4 kB / 0.7206 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4332, allocations: 0 / 0.7206 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4332, allocations: 4 kB / 0.7206 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.4339, allocations: 457.8 kB / 0.7211 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4339, allocations: 0 / 0.7211 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.4344, allocations: 63.89 kB / 0.7211 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4344, allocations: 4 kB / 0.7211 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.4345, allocations: 8 kB / 0.7211 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4345, allocations: 7.938 kB / 0.7211 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4345, allocations: 0 / 0.7211 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.4355, allocations: 0.685 MB / 0.7218 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.4356, allocations: 96.94 kB / 0.7219 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.4356, allocations: 8 kB / 0.7219 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.4361, allocations: 31.89 kB / 0.7219 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.4361, allocations: 15.98 kB / 0.7219 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.4362, allocations: 15.98 kB / 0.722 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.4362, allocations: 99.27 kB / 0.7221 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4362, allocations: 4 kB / 0.7221 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005555/0.4368, allocations: 171.5 kB / 0.7222 GB, free: 12.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0019/0.4387, allocations: 1.461 MB / 0.7237 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007482/0.4394, allocations: 425 kB / 0.7241 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4394, allocations: 4.062 kB / 0.7241 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4398, allocations: 207.8 kB / 0.7243 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.4404, allocations: 102.4 kB / 0.7244 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.4444, allocations: 3.231 MB / 0.7275 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4448, allocations: 0.7439 MB / 0.7282 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004159/0.4452, allocations: 109.8 kB / 0.7283 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.4454, allocations: 59.41 kB / 0.7284 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.4454, allocations: 0 / 0.7284 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2205/0.6659, allocations: 10.42 MB / 0.7386 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/8.114, allocations: 2.188 kB / 0.7386 GB, free: 175.2 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_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_FlueGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.60603487600747]