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.00171/0.00171, allocations: 118.6 kB / 18.5 MB, free: 4.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.002033/0.002033, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.511/1.511, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] 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.242/0.242, allocations: 46.88 MB / 357.4 MB, free: 10.53 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.00234/0.00234, allocations: 75.88 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 65.99 MB / 0.5556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5122/0.6515, allocations: 153 MB / 0.7051 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.6542, allocations: 2.194 MB / 0.7072 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.6543, allocations: 0 / 0.7072 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.6547, allocations: 71.58 kB / 0.7073 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.6563, allocations: 0.6339 MB / 0.7079 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.6566, allocations: 103.7 kB / 0.708 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.657, allocations: 263.1 kB / 0.7083 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.6571, allocations: 4 kB / 0.7083 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.6574, allocations: 147.4 kB / 0.7084 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.6576, allocations: 91.7 kB / 0.7085 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.6576, allocations: 8 kB / 0.7085 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.6592, allocations: 0.8884 MB / 0.7094 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.6593, allocations: 83.77 kB / 0.7094 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.6595, allocations: 99.58 kB / 0.7095 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.6605, allocations: 0.6571 MB / 0.7102 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6605, allocations: 0 / 0.7102 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.614e-06/0.6605, allocations: 0 / 0.7102 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6605, allocations: 0 / 0.7102 GB, free: 3.957 MB / 0.5137 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.0009523/0.6615, allocations: 0.5103 MB / 0.7107 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6615, allocations: 8.031 kB / 0.7107 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.075e-05/0.6616, allocations: 54.73 kB / 0.7107 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.6636, allocations: 276.5 kB / 0.711 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.6641, allocations: 280.1 kB / 0.7113 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.6642, allocations: 20.2 kB / 0.7113 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.6642, allocations: 20 kB / 0.7113 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.665, allocations: 0.4939 MB / 0.7118 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.665, allocations: 0 / 0.7118 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.6651, allocations: 9.5 kB / 0.7118 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.6651, allocations: 8.5 kB / 0.7118 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008691/0.666, allocations: 0.5849 MB / 0.7124 GB, free: 1.605 MB / 0.5137 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.002333/0.6683, allocations: 1.008 MB / 0.7134 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.6687, allocations: 229.1 kB / 0.7136 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.669, allocations: 189.6 kB / 0.7138 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/0.6699, allocations: 383.3 kB / 0.7141 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.67, allocations: 34.56 kB / 0.7142 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.67, allocations: 0 / 0.7142 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001871/0.6718, allocations: 0.5976 MB / 0.7147 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.6719, allocations: 85.09 kB / 0.7148 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.672, allocations: 121.8 kB / 0.7149 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.6721, allocations: 37.64 kB / 0.715 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6722, allocations: 120.5 kB / 0.7151 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.6723, allocations: 111 kB / 0.7152 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.6724, allocations: 73.47 kB / 0.7153 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6726, allocations: 326.8 kB / 0.7156 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.6729, allocations: 187.8 kB / 0.7158 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.6734, allocations: 296.5 kB / 0.716 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.6742, allocations: 487.2 kB / 0.7165 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.6742, allocations: 4.812 kB / 0.7165 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001046/0.6752, allocations: 0.517 MB / 0.717 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6752, allocations: 12.06 kB / 0.717 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6752, allocations: 4 kB / 0.717 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.6753, allocations: 4 kB / 0.717 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.6758, allocations: 83.88 kB / 0.7171 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.6758, allocations: 7.938 kB / 0.7171 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.6762, allocations: 35.77 kB / 0.7172 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.6762, allocations: 21.25 kB / 0.7172 GB, free: 12.39 MB / 0.5294 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.0002022/0.6764, allocations: 145.7 kB / 0.7173 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.6765, allocations: 19.91 kB / 0.7173 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009901/0.6775, allocations: 0.4902 MB / 0.7178 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.6775, allocations: 4 kB / 0.7178 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6775, allocations: 0 / 0.7178 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6775, allocations: 0 / 0.7178 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.6783, allocations: 461.8 kB / 0.7183 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6783, allocations: 3.938 kB / 0.7183 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.6788, allocations: 59.89 kB / 0.7183 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6788, allocations: 4 kB / 0.7183 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.6789, allocations: 8 kB / 0.7183 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6789, allocations: 0 / 0.7183 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6789, allocations: 11.98 kB / 0.7183 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.68, allocations: 0.6849 MB / 0.719 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.6801, allocations: 96.95 kB / 0.7191 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.6802, allocations: 4 kB / 0.7191 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.6806, allocations: 27.97 kB / 0.7191 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.6807, allocations: 11.98 kB / 0.7191 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.6807, allocations: 15.98 kB / 0.7192 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.6808, allocations: 112.4 kB / 0.7193 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6808, allocations: 0 / 0.7193 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006745/0.6815, allocations: 159.6 kB / 0.7194 GB, free: 10 MB / 0.5294 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.002076/0.6836, allocations: 1.484 MB / 0.7209 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008233/0.6844, allocations: 420.2 kB / 0.7213 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6844, allocations: 192 / 0.7213 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.6847, allocations: 215.8 kB / 0.7215 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/0.6854, allocations: 92.59 kB / 0.7216 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/0.6901, allocations: 3.225 MB / 0.7247 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.6905, allocations: 0.744 MB / 0.7254 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004754/0.691, allocations: 109.8 kB / 0.7255 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.6911, allocations: 59.42 kB / 0.7256 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.6911, allocations: 0 / 0.7256 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.7277, allocations: 10.39 MB / 0.7358 GB, free: 9.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.913, allocations: 13.62 kB / 0.7358 GB, free: 9.152 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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: 11.973732914309949] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium2.T', 'medium2.X[1]', 'medium2.X[2]', 'medium2.X[3]', 'medium2.X[4]', 'medium2.p', 'state.T', 'state.p'] 8.983332871925086 8.999559228 8.335799073 Calling exit ...