Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001139/0.001139, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001379/0.001379, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.421/1.421, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.94 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 79.88 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3294, allocations: 66.07 MB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1711/0.5005, allocations: 132.2 MB / 0.6905 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007553/0.508, allocations: 6.089 MB / 0.6965 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.5082, allocations: 4 kB / 0.6965 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.5086, allocations: 79.5 kB / 0.6965 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.5143, allocations: 2.265 MB / 0.6988 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.5146, allocations: 143.1 kB / 0.6989 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007523/0.5154, allocations: 0.5217 MB / 0.6994 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.5154, allocations: 12.58 kB / 0.6994 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.5159, allocations: 271 kB / 0.6997 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.5167, allocations: 494.5 kB / 0.7001 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.5168, allocations: 12 kB / 0.7002 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.5218, allocations: 2.337 MB / 0.7024 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.522, allocations: 171.5 kB / 0.7026 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.5224, allocations: 179.3 kB / 0.7028 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.5264, allocations: 1.819 MB / 0.7045 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5264, allocations: 0 / 0.7045 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5264, allocations: 0 / 0.7045 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.5264, allocations: 0 / 0.7045 GB, free: 0.9766 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002984/0.5294, allocations: 0.9136 MB / 0.7054 GB, free: 32 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5294, allocations: 12.03 kB / 0.7054 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.693e-05/0.5294, allocations: 9.188 kB / 0.7055 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.5296, allocations: 82.7 kB / 0.7055 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/0.5336, allocations: 0.504 MB / 0.706 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007689/0.5343, allocations: 321.3 kB / 0.7063 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.5345, allocations: 234.3 kB / 0.7066 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.5347, allocations: 28 kB / 0.7066 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.5367, allocations: 1.414 MB / 0.708 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5368, allocations: 4 kB / 0.708 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.5369, allocations: 19.98 kB / 0.708 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.531e-05/0.537, allocations: 52.97 kB / 0.708 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.5405, allocations: 2.276 MB / 0.7103 GB, free: 10.9 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.00394/0.5444, allocations: 2.088 MB / 0.7123 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.5447, allocations: 102.6 kB / 0.7124 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5448, allocations: 44.94 kB / 0.7124 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003837/0.5486, allocations: 1.382 MB / 0.7138 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.5487, allocations: 38.55 kB / 0.7138 GB, free: 7.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.465e-06/0.5487, allocations: 0 / 0.7138 GB, free: 7.121 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=16): time 0.001178/0.5499, allocations: 303.9 kB / 0.7141 GB, free: 6.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5499, allocations: 59.34 kB / 0.7142 GB, free: 6.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.5503, allocations: 380.1 kB / 0.7145 GB, free: 6.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.5504, allocations: 33.7 kB / 0.7146 GB, free: 6.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.5507, allocations: 374.7 kB / 0.7149 GB, free: 5.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.5508, allocations: 71.47 kB / 0.715 GB, free: 5.891 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.551, allocations: 162.5 kB / 0.7151 GB, free: 5.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.5512, allocations: 346.8 kB / 0.7155 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.5515, allocations: 117.9 kB / 0.7156 GB, free: 5.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.5521, allocations: 0.5725 MB / 0.7162 GB, free: 4.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.553, allocations: 0.7451 MB / 0.7169 GB, free: 3.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.553, allocations: 4 kB / 0.7169 GB, free: 3.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001537/0.5546, allocations: 0.7472 MB / 0.7176 GB, free: 2.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5546, allocations: 14.19 kB / 0.7176 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.5546, allocations: 16 kB / 0.7176 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/0.5547, allocations: 20 kB / 0.7177 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.5552, allocations: 187.7 kB / 0.7178 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004698/0.5557, allocations: 0.6216 MB / 0.7184 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.5562, allocations: 99.25 kB / 0.7185 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/0.5563, allocations: 56 kB / 0.7186 GB, free: 1.723 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.5565, allocations: 201.4 kB / 0.7188 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/0.5569, allocations: 95.72 kB / 0.7189 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.5574, allocations: 195.2 kB / 0.7191 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5574, allocations: 4 kB / 0.7191 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5574, allocations: 0 / 0.7191 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5574, allocations: 0 / 0.7191 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008191/0.5582, allocations: 0.5062 MB / 0.7196 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.5582, allocations: 4.188 kB / 0.7196 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.5583, allocations: 31.98 kB / 0.7196 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5583, allocations: 0 / 0.7196 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.5583, allocations: 4 kB / 0.7196 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004212/0.5588, allocations: 0.5938 MB / 0.7202 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5588, allocations: 7.984 kB / 0.7202 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.5591, allocations: 262 kB / 0.7204 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5592, allocations: 39.67 kB / 0.7205 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.5593, allocations: 8 kB / 0.7205 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.5596, allocations: 12.08 kB / 0.7205 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.5596, allocations: 15.97 kB / 0.7205 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.5596, allocations: 11.94 kB / 0.7205 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002808/0.5599, allocations: 243.2 kB / 0.7208 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5599, allocations: 0 / 0.7208 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001284/0.5612, allocations: 347.2 kB / 0.7211 GB, free: 15.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002499/0.5637, allocations: 1.325 MB / 0.7224 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007368/0.5644, allocations: 330.5 kB / 0.7227 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5644, allocations: 0.9375 kB / 0.7227 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.5645, allocations: 48.11 kB / 0.7227 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.5651, allocations: 65.27 kB / 0.7228 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.5816, allocations: 10.21 MB / 0.7328 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.5819, allocations: 184.5 kB / 0.733 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006262/0.5825, allocations: 239.2 kB / 0.7332 GB, free: 2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.5827, allocations: 111.4 kB / 0.7333 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.5827, allocations: 4 kB / 0.7333 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2652/0.8479, allocations: 13.53 MB / 0.7465 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.11, allocations: 11.84 kB / 0.7465 GB, free: 166.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.96110927197151] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'dddX[2]', 'dddX[3]', 'dddX[4]', 'dddX[5]', 'dddX[6]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 14.291701329057105 14.308940375 13.779171398999999 Calling exit ...