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.00185/0.00185, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002195/0.002195, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2241/0.2241, allocations: 46.91 MB / 361.6 MB, free: 4.176 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.002529/0.002529, allocations: 83.86 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3472, allocations: 66.08 MB / 0.5615 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1851/0.5323, allocations: 153.1 MB / 0.711 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.5351, allocations: 2.208 MB / 0.7131 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.5351, allocations: 0 / 0.7131 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.5355, allocations: 55.72 kB / 0.7132 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.5369, allocations: 0.6453 MB / 0.7138 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.5372, allocations: 111.7 kB / 0.7139 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.5375, allocations: 263 kB / 0.7142 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.5376, allocations: 7.938 kB / 0.7142 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.5379, allocations: 147.4 kB / 0.7143 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.5381, allocations: 95.64 kB / 0.7144 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.5381, allocations: 16 kB / 0.7144 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.5396, allocations: 0.8924 MB / 0.7153 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.5397, allocations: 87.75 kB / 0.7154 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.5399, allocations: 99.58 kB / 0.7155 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009315/0.5408, allocations: 0.6566 MB / 0.7161 GB, free: 5.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5408, allocations: 7.938 kB / 0.7161 GB, free: 5.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5408, allocations: 0 / 0.7161 GB, free: 5.332 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.5408, allocations: 0 / 0.7161 GB, free: 5.332 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.000759/0.5416, allocations: 441.5 kB / 0.7165 GB, free: 4.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5416, allocations: 12.03 kB / 0.7166 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.5417, allocations: 46.73 kB / 0.7166 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.5436, allocations: 276.5 kB / 0.7169 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.544, allocations: 225.8 kB / 0.7171 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.544, allocations: 16.33 kB / 0.7171 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.5441, allocations: 12 kB / 0.7171 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.5449, allocations: 0.4929 MB / 0.7176 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5449, allocations: 0 / 0.7176 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.545, allocations: 11.94 kB / 0.7176 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.545, allocations: 11.94 kB / 0.7176 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009072/0.5459, allocations: 0.5778 MB / 0.7182 GB, free: 3.156 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.002216/0.5481, allocations: 0.9873 MB / 0.7191 GB, free: 2.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.5485, allocations: 245 kB / 0.7194 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.5488, allocations: 173.6 kB / 0.7195 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008102/0.5496, allocations: 156 kB / 0.7197 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.5497, allocations: 34.56 kB / 0.7197 GB, free: 1.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.5497, allocations: 3.938 kB / 0.7197 GB, free: 1.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001946/0.5516, allocations: 0.6017 MB / 0.7203 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.5517, allocations: 81.11 kB / 0.7204 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.5518, allocations: 133.8 kB / 0.7205 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.5519, allocations: 33.7 kB / 0.7205 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.5519, allocations: 116.5 kB / 0.7207 GB, free: 500 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.552, allocations: 115 kB / 0.7208 GB, free: 384 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.5522, allocations: 69.48 kB / 0.7208 GB, free: 308 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5523, allocations: 334.8 kB / 0.7211 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.5527, allocations: 183.9 kB / 0.7213 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.5531, allocations: 292.5 kB / 0.7216 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.5539, allocations: 484.6 kB / 0.7221 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5539, allocations: 0 / 0.7221 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009869/0.5549, allocations: 0.5191 MB / 0.7226 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5549, allocations: 8 kB / 0.7226 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.5549, allocations: 7.938 kB / 0.7226 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.5549, allocations: 4 kB / 0.7226 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.5555, allocations: 83.88 kB / 0.7227 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.5555, allocations: 4 kB / 0.7227 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.5558, allocations: 35.77 kB / 0.7227 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.5559, allocations: 20 kB / 0.7227 GB, free: 14.25 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.0001809/0.5561, allocations: 157.7 kB / 0.7229 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5562, allocations: 15.91 kB / 0.7229 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009986/0.5572, allocations: 0.4906 MB / 0.7234 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5572, allocations: 7.984 kB / 0.7234 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5572, allocations: 0 / 0.7234 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5572, allocations: 0 / 0.7234 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.558, allocations: 436.8 kB / 0.7238 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.558, allocations: 0 / 0.7238 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.5585, allocations: 59.89 kB / 0.7239 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5585, allocations: 0 / 0.7239 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.5585, allocations: 8 kB / 0.7239 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5585, allocations: 4 kB / 0.7239 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5585, allocations: 4 kB / 0.7239 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.5597, allocations: 0.684 MB / 0.7245 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.5598, allocations: 23.83 kB / 0.7246 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.5598, allocations: 8 kB / 0.7246 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.5603, allocations: 23.97 kB / 0.7246 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.5603, allocations: 19.97 kB / 0.7246 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.5604, allocations: 19.92 kB / 0.7246 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.927e-05/0.5605, allocations: 99.27 kB / 0.7247 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5605, allocations: 0 / 0.7247 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007349/0.5612, allocations: 167.6 kB / 0.7249 GB, free: 11.97 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.002136/0.5633, allocations: 1.469 MB / 0.7263 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.5641, allocations: 420.2 kB / 0.7267 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5641, allocations: 4.062 kB / 0.7267 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.5645, allocations: 215.8 kB / 0.7269 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.5651, allocations: 88.55 kB / 0.727 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.5695, allocations: 3.227 MB / 0.7302 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.5699, allocations: 0.7361 MB / 0.7309 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004674/0.5704, allocations: 125.7 kB / 0.731 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.5706, allocations: 59.41 kB / 0.7311 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.5706, allocations: 0 / 0.7311 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2848/0.8554, allocations: 10.63 MB / 0.7414 GB, free: 174 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.901, allocations: 3 kB / 0.7414 GB, free: 174 MB / 0.5606 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.76238008402288] 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.978988656774163 8.995941592 8.4516526 Calling exit ...