Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001396/0.001396, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001445/0.001445, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.328/1.328, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 59.89 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2227, allocations: 53.42 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0723/0.295, allocations: 66.38 MB / 498.4 MB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00747/0.3025, allocations: 5.507 MB / 0.4921 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.303, allocations: 11.94 kB / 0.4921 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.304, allocations: 365.9 kB / 0.4924 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.3052, allocations: 0.5088 MB / 0.4929 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01755/0.3228, allocations: 7.542 MB / 0.5003 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.3249, allocations: 1.571 MB / 0.5018 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.3252, allocations: 145.4 kB / 0.502 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3263, allocations: 0.6386 MB / 0.5026 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.3274, allocations: 0.6113 MB / 0.5032 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.3276, allocations: 80 kB / 0.5033 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01936/0.3469, allocations: 10.48 MB / 0.5135 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006235/0.3475, allocations: 335.1 kB / 0.5138 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008952/0.3484, allocations: 442.4 kB / 0.5142 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.3616, allocations: 5.978 MB / 0.5201 GB, free: 1.844 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3616, allocations: 0 / 0.5201 GB, free: 1.844 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3616, allocations: 0 / 0.5201 GB, free: 1.844 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.3616, allocations: 0 / 0.5201 GB, free: 1.844 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003978/0.3656, allocations: 1.54 MB / 0.5216 GB, free: 276 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3657, allocations: 12.02 kB / 0.5216 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.403e-05/0.3657, allocations: 17.31 kB / 0.5216 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.3658, allocations: 106.5 kB / 0.5217 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/0.3663, allocations: 91.5 kB / 0.5218 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.3669, allocations: 383.2 kB / 0.5221 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.367, allocations: 49.31 kB / 0.5222 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.3671, allocations: 63.95 kB / 0.5223 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3688, allocations: 0.8107 MB / 0.523 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.3688, allocations: 4 kB / 0.5231 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.3689, allocations: 28 kB / 0.5231 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.3689, allocations: 19.94 kB / 0.5231 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.3709, allocations: 1.04 MB / 0.5241 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.3845, allocations: 4.973 MB / 0.529 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.3863, allocations: 0.7143 MB / 0.5297 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.3869, allocations: 391.2 kB / 0.53 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.3973, allocations: 2.6 MB / 0.5326 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/0.3973, allocations: 47.59 kB / 0.5326 GB, free: 4.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.334e-06/0.3973, allocations: 0 / 0.5326 GB, free: 4.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009825/0.4072, allocations: 3.147 MB / 0.5357 GB, free: 1.488 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.4072, allocations: 60.41 kB / 0.5358 GB, free: 1.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.4076, allocations: 360.5 kB / 0.5361 GB, free: 1.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.479e-05/0.4077, allocations: 45.7 kB / 0.5361 GB, free: 1.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4079, allocations: 237.2 kB / 0.5364 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.4082, allocations: 329.2 kB / 0.5367 GB, free: 456 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.4084, allocations: 162.6 kB / 0.5368 GB, free: 288 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.1657/0.5741, allocations: 358.8 kB / 0.5372 GB, free: 106.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008714/0.575, allocations: 369.2 kB / 0.5375 GB, free: 106.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.5761, allocations: 495.2 kB / 0.538 GB, free: 106.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.5777, allocations: 0.9023 MB / 0.5389 GB, free: 105.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5777, allocations: 8.266 kB / 0.5389 GB, free: 105.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002387/0.5801, allocations: 1.117 MB / 0.54 GB, free: 105.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5801, allocations: 6.656 kB / 0.54 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5801, allocations: 4.094 kB / 0.54 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.5809, allocations: 160.7 kB / 0.5401 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.5816, allocations: 194.5 kB / 0.5403 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.5835, allocations: 3.906 MB / 0.5441 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.5838, allocations: 18.42 kB / 0.5442 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.5839, allocations: 47.69 kB / 0.5442 GB, free: 101.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002865/0.5842, allocations: 221 kB / 0.5444 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.5846, allocations: 64.89 kB / 0.5445 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.5867, allocations: 1.277 MB / 0.5457 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5867, allocations: 8.406 kB / 0.5457 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5867, allocations: 3.75 kB / 0.5457 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/0.5881, allocations: 1.325 MB / 0.547 GB, free: 99.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.5907, allocations: 1.939 MB / 0.5489 GB, free: 98.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5907, allocations: 6.281 kB / 0.5489 GB, free: 98.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.5913, allocations: 162.1 kB / 0.5491 GB, free: 98.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.5929, allocations: 295.8 kB / 0.5494 GB, free: 98.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.5929, allocations: 31.53 kB / 0.5494 GB, free: 98.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004625/0.5934, allocations: 1.287 MB / 0.5507 GB, free: 97.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5934, allocations: 4.375 kB / 0.5507 GB, free: 97.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.5954, allocations: 1.413 MB / 0.552 GB, free: 96.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5955, allocations: 59.17 kB / 0.5521 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.5956, allocations: 19.62 kB / 0.5521 GB, free: 96.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.5961, allocations: 30.77 kB / 0.5522 GB, free: 96.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.5962, allocations: 62.86 kB / 0.5522 GB, free: 96.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.5963, allocations: 43.44 kB / 0.5523 GB, free: 96.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.5965, allocations: 276.4 kB / 0.5525 GB, free: 96.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5965, allocations: 0 / 0.5525 GB, free: 96.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003015/0.5995, allocations: 1.425 MB / 0.5539 GB, free: 96.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007242/0.6068, allocations: 3.601 MB / 0.5574 GB, free: 94.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.6086, allocations: 1.11 MB / 0.5585 GB, free: 93.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6086, allocations: 0 / 0.5585 GB, free: 93.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.6094, allocations: 483.1 kB / 0.559 GB, free: 93.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.6111, allocations: 393.2 kB / 0.5593 GB, free: 93.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009446/0.6206, allocations: 7.083 MB / 0.5663 GB, free: 85.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.6209, allocations: 0.9089 MB / 0.5671 GB, free: 84.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006236/0.6215, allocations: 203.4 kB / 0.5673 GB, free: 84.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.6218, allocations: 227.3 kB / 0.5676 GB, free: 84.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6218, allocations: 4 kB / 0.5676 GB, free: 84.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07723/0.699, allocations: 57.83 MB / 0.624 GB, free: 26.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.5, allocations: 22.7 kB / 0.6241 GB, free: 26.76 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.91592310502892] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.Xi[1]', 'volume1.medium.p'] 15.712040184007492 15.721641814 15.357748861 Calling exit ...