Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009945/0.0009944, allocations: 98.28 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009273/0.0009275, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 63.46 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4555/0.602, allocations: 142.7 MB / 0.6096 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00785/0.6099, allocations: 5.522 MB / 0.615 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.6109, allocations: 27.75 kB / 0.615 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008644/0.6117, allocations: 274.6 kB / 0.6153 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.6149, allocations: 1.077 MB / 0.6163 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.6172, allocations: 0.8477 MB / 0.6171 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.619, allocations: 1.043 MB / 0.6181 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.6196, allocations: 389.2 kB / 0.6185 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.6213, allocations: 0.748 MB / 0.6193 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.6223, allocations: 0.5645 MB / 0.6198 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.398e-05/0.6224, allocations: 32 kB / 0.6198 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.6236, allocations: 0.4915 MB / 0.6203 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.6239, allocations: 219.4 kB / 0.6205 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.6241, allocations: 161.4 kB / 0.6207 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.6254, allocations: 0.9211 MB / 0.6216 GB, free: 10.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6254, allocations: 4 kB / 0.6216 GB, free: 10.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6254, allocations: 0 / 0.6216 GB, free: 10.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.6254, allocations: 0 / 0.6216 GB, free: 10.35 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001987/0.6274, allocations: 0.9465 MB / 0.6225 GB, free: 9.352 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.6274, allocations: 12.03 kB / 0.6225 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.6276, allocations: 106.5 kB / 0.6226 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/0.6284, allocations: 139 kB / 0.6227 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.6292, allocations: 480.8 kB / 0.6232 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.6293, allocations: 108.3 kB / 0.6233 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.6294, allocations: 52 kB / 0.6234 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6307, allocations: 0.8058 MB / 0.6241 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.6307, allocations: 4 kB / 0.6242 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.6308, allocations: 27.98 kB / 0.6242 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/0.6309, allocations: 44.88 kB / 0.6242 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009974/0.6319, allocations: 0.6244 MB / 0.6248 GB, free: 6.828 MB / 462.1 MB 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.004405/0.6363, allocations: 3.929 MB / 0.6287 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.6368, allocations: 358 kB / 0.629 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.637, allocations: 85.39 kB / 0.6291 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.637, allocations: 38.84 kB / 0.6291 GB, free: 2.148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.637, allocations: 0 / 0.6291 GB, free: 2.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005259/0.6423, allocations: 1.68 MB / 0.6308 GB, free: 404 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.6423, allocations: 132.5 kB / 0.6309 GB, free: 240 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.643, allocations: 0.6094 MB / 0.6315 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.6431, allocations: 37.7 kB / 0.6315 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.6433, allocations: 370.7 kB / 0.6319 GB, free: 15.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.6434, allocations: 138.1 kB / 0.632 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.6435, allocations: 19.94 kB / 0.632 GB, free: 15.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6437, allocations: 370.8 kB / 0.6324 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.644, allocations: 201.9 kB / 0.6326 GB, free: 14.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.6445, allocations: 0.5047 MB / 0.6331 GB, free: 13.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.645, allocations: 300.4 kB / 0.6334 GB, free: 13.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.645, allocations: 0 / 0.6334 GB, free: 13.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001305/0.6463, allocations: 0.8804 MB / 0.6342 GB, free: 12.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.6463, allocations: 12.03 kB / 0.6342 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6463, allocations: 15.94 kB / 0.6342 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.6476, allocations: 312.5 kB / 0.6345 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.648, allocations: 123.8 kB / 0.6347 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009809/0.649, allocations: 0.9308 MB / 0.6356 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.6495, allocations: 47.81 kB / 0.6356 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.6496, allocations: 71.98 kB / 0.6357 GB, free: 11.11 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.6499, allocations: 246.1 kB / 0.6359 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.65, allocations: 67.25 kB / 0.636 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.6516, allocations: 0.8747 MB / 0.6368 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6516, allocations: 4 kB / 0.6368 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6516, allocations: 0 / 0.6368 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6516, allocations: 3.984 kB / 0.6368 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6534, allocations: 1.444 MB / 0.6383 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6535, allocations: 0 / 0.6383 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6545, allocations: 211.9 kB / 0.6385 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.514e-05/0.6546, allocations: 28.84 kB / 0.6385 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.6546, allocations: 16 kB / 0.6385 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.6565, allocations: 2.696 MB / 0.6411 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6565, allocations: 32 / 0.6411 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.6578, allocations: 0.8899 MB / 0.642 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.6581, allocations: 184.2 kB / 0.6422 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.6582, allocations: 12 kB / 0.6422 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.6586, allocations: 32.03 kB / 0.6422 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.6587, allocations: 43.91 kB / 0.6423 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/0.6588, allocations: 43.92 kB / 0.6423 GB, free: 3.809 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004933/0.6593, allocations: 431 kB / 0.6427 GB, free: 3.391 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6593, allocations: 4 kB / 0.6427 GB, free: 3.387 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009231/0.6602, allocations: 259.9 kB / 0.643 GB, free: 3.133 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002255/0.6625, allocations: 2.026 MB / 0.6449 GB, free: 1.047 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.6636, allocations: 0.5475 MB / 0.6455 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6636, allocations: 4 kB / 0.6455 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009229/0.6646, allocations: 418.3 kB / 0.6459 GB, free: 76 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.6661, allocations: 332.2 kB / 0.6462 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/0.674, allocations: 10.85 MB / 0.6568 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.6745, allocations: 0.9417 MB / 0.6577 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001268/0.6758, allocations: 467.7 kB / 0.6582 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.6763, allocations: 279.3 kB / 0.6584 GB, free: 2.93 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6763, allocations: 4 kB / 0.6584 GB, free: 2.926 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.716, allocations: 22.77 MB / 0.6807 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.7163, allocations: 275.1 kB / 0.6809 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.09, allocations: 0 / 0.6809 GB, free: 12.11 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat