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.00174/0.00174, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.002285/0.002285, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.506/1.506, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2411/0.2411, allocations: 46.93 MB / 357.7 MB, free: 10.19 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.002273/0.002273, allocations: 79.86 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1344, allocations: 66.04 MB / 0.5561 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4611/0.5956, allocations: 153 MB / 0.7056 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003367/0.5989, allocations: 2.191 MB / 0.7077 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.599, allocations: 0 / 0.7077 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.5994, allocations: 63.7 kB / 0.7078 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.6012, allocations: 0.6416 MB / 0.7084 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.6015, allocations: 99.78 kB / 0.7085 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.6019, allocations: 263 kB / 0.7088 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.602, allocations: 4 kB / 0.7088 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.6023, allocations: 151.4 kB / 0.7089 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.6026, allocations: 95.64 kB / 0.709 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.6026, allocations: 12 kB / 0.709 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.6044, allocations: 0.8845 MB / 0.7099 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.6045, allocations: 79.81 kB / 0.71 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6046, allocations: 95.59 kB / 0.71 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.6058, allocations: 0.6618 MB / 0.7107 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6058, allocations: 0 / 0.7107 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6058, allocations: 3.938 kB / 0.7107 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.6058, allocations: 0 / 0.7107 GB, free: 2.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.0009673/0.6067, allocations: 0.5065 MB / 0.7112 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6068, allocations: 8.031 kB / 0.7112 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.6069, allocations: 50.73 kB / 0.7112 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.609, allocations: 280.5 kB / 0.7115 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.6095, allocations: 280.1 kB / 0.7118 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.6095, allocations: 20.27 kB / 0.7118 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.6096, allocations: 16 kB / 0.7118 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.6106, allocations: 497.5 kB / 0.7123 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6106, allocations: 3.938 kB / 0.7123 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.6106, allocations: 12 kB / 0.7123 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.6107, allocations: 12.42 kB / 0.7123 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009565/0.6116, allocations: 0.5778 MB / 0.7129 GB, free: 0.6133 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.00231/0.6139, allocations: 1.004 MB / 0.7139 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.6144, allocations: 233 kB / 0.7141 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.6147, allocations: 185.6 kB / 0.7143 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.6158, allocations: 387.3 kB / 0.7146 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.6158, allocations: 38.56 kB / 0.7147 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/0.6158, allocations: 3.938 kB / 0.7147 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002092/0.6179, allocations: 0.6015 MB / 0.7153 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.618, allocations: 85.05 kB / 0.7153 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.6181, allocations: 125.8 kB / 0.7155 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.6181, allocations: 29.7 kB / 0.7155 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.6182, allocations: 116.5 kB / 0.7156 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.6184, allocations: 115 kB / 0.7157 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6185, allocations: 73.47 kB / 0.7158 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6187, allocations: 322.8 kB / 0.7161 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.6191, allocations: 187.9 kB / 0.7163 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.6196, allocations: 288.5 kB / 0.7165 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.6204, allocations: 493 kB / 0.717 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6204, allocations: 7.938 kB / 0.717 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001048/0.6215, allocations: 0.5193 MB / 0.7175 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6215, allocations: 8 kB / 0.7175 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.6215, allocations: 4 kB / 0.7175 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6215, allocations: 4.875 kB / 0.7175 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.6221, allocations: 79.89 kB / 0.7176 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.6221, allocations: 8 kB / 0.7176 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.6225, allocations: 35.77 kB / 0.7177 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.6226, allocations: 19.98 kB / 0.7177 GB, free: 11.4 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.0002446/0.6228, allocations: 153.7 kB / 0.7178 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.6229, allocations: 15.91 kB / 0.7178 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.624, allocations: 495.1 kB / 0.7183 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.624, allocations: 4 kB / 0.7183 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.624, allocations: 0 / 0.7183 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.624, allocations: 3.984 kB / 0.7183 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.6248, allocations: 461.6 kB / 0.7188 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6248, allocations: 0 / 0.7188 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.6253, allocations: 63.89 kB / 0.7188 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6253, allocations: 3.938 kB / 0.7188 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.6253, allocations: 11.98 kB / 0.7188 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.6253, allocations: 8 kB / 0.7188 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6253, allocations: 0 / 0.7188 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.6266, allocations: 0.6772 MB / 0.7195 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.6266, allocations: 96.95 kB / 0.7196 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.6267, allocations: 11.94 kB / 0.7196 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.6272, allocations: 23.97 kB / 0.7196 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.6272, allocations: 19.91 kB / 0.7196 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.6273, allocations: 19.98 kB / 0.7197 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.299e-05/0.6274, allocations: 99.27 kB / 0.7198 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6274, allocations: 0 / 0.7198 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007045/0.6281, allocations: 163.6 kB / 0.7199 GB, free: 9.012 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.002341/0.6304, allocations: 1.486 MB / 0.7214 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008744/0.6313, allocations: 418.7 kB / 0.7218 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6313, allocations: 4.062 kB / 0.7218 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.6317, allocations: 215.8 kB / 0.722 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.6324, allocations: 89.92 kB / 0.7221 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.6373, allocations: 3.226 MB / 0.7252 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6377, allocations: 0.7401 MB / 0.7259 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004685/0.6382, allocations: 105.8 kB / 0.726 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.6384, allocations: 63.41 kB / 0.7261 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.6384, allocations: 0 / 0.7261 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.6764, allocations: 10.41 MB / 0.7363 GB, free: 8.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.839, allocations: 0 / 0.7363 GB, free: 8.172 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 & 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: 12.021435563918203] 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.911832598038018 8.935915198 8.325622894 Calling exit ...