Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.354/1.354, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 51.92 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2304, allocations: 53.37 MB / 431.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07027/0.3006, allocations: 58.92 MB / 490.8 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006926/0.3075, allocations: 4.967 MB / 495.8 MB, free: 6.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.308, allocations: 7.938 kB / 495.8 MB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3091, allocations: 330 kB / 496.1 MB, free: 6.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.3103, allocations: 0.5127 MB / 496.6 MB, free: 5.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0196/0.3299, allocations: 7.466 MB / 0.4923 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.3321, allocations: 1.571 MB / 0.4938 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.3325, allocations: 149.4 kB / 0.4939 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.3337, allocations: 0.6425 MB / 0.4946 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.3348, allocations: 0.5956 MB / 0.4951 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.3351, allocations: 84 kB / 0.4952 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01775/0.3528, allocations: 9.878 MB / 0.5049 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.3533, allocations: 331.1 kB / 0.5052 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005925/0.3539, allocations: 382.8 kB / 0.5055 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.3671, allocations: 5.884 MB / 0.5113 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3671, allocations: 0 / 0.5113 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3671, allocations: 0 / 0.5113 GB, free: 10.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3671, allocations: 3.938 kB / 0.5113 GB, free: 10.71 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.003584/0.3707, allocations: 1.525 MB / 0.5128 GB, free: 9.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3708, allocations: 8.031 kB / 0.5128 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.954e-05/0.3708, allocations: 17.31 kB / 0.5128 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.3709, allocations: 110.5 kB / 0.5129 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.3714, allocations: 87.5 kB / 0.513 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.372, allocations: 387.2 kB / 0.5134 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.372, allocations: 49.31 kB / 0.5134 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3721, allocations: 67.95 kB / 0.5135 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.3741, allocations: 1.212 MB / 0.5147 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3742, allocations: 7.984 kB / 0.5147 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.3743, allocations: 28 kB / 0.5147 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3743, allocations: 19.94 kB / 0.5147 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.3761, allocations: 1.036 MB / 0.5157 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.3897, allocations: 4.143 MB / 0.5198 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3915, allocations: 0.7075 MB / 0.5205 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.3921, allocations: 394.6 kB / 0.5208 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.4028, allocations: 2.604 MB / 0.5234 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.4028, allocations: 47.59 kB / 0.5234 GB, free: 14.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.4029, allocations: 0 / 0.5234 GB, free: 14.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009633/0.4125, allocations: 3.158 MB / 0.5265 GB, free: 10.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.4125, allocations: 60.41 kB / 0.5266 GB, free: 10.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.413, allocations: 360.5 kB / 0.5269 GB, free: 10.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/0.4131, allocations: 41.7 kB / 0.527 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.4132, allocations: 237.2 kB / 0.5272 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.4135, allocations: 325.2 kB / 0.5275 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.4138, allocations: 170.6 kB / 0.5277 GB, free: 9.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4139, allocations: 362.8 kB / 0.528 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.4145, allocations: 373.8 kB / 0.5284 GB, free: 8.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/0.4154, allocations: 496.2 kB / 0.5288 GB, free: 8.398 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.4172, allocations: 0.8982 MB / 0.5297 GB, free: 7.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4172, allocations: 0 / 0.5297 GB, free: 7.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00262/0.4198, allocations: 1.129 MB / 0.5308 GB, free: 6.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4198, allocations: 4 kB / 0.5308 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4198, allocations: 4 kB / 0.5308 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008405/0.4207, allocations: 175.5 kB / 0.531 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.4214, allocations: 183.8 kB / 0.5312 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.4246, allocations: 3.906 MB / 0.535 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.425, allocations: 20 kB / 0.535 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4251, allocations: 47.98 kB / 0.535 GB, free: 1.699 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.0003758/0.4255, allocations: 230 kB / 0.5353 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.4259, allocations: 67.61 kB / 0.5353 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.4284, allocations: 1.273 MB / 0.5366 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4284, allocations: 8 kB / 0.5366 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4284, allocations: 3.984 kB / 0.5366 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.179/0.6074, allocations: 1.317 MB / 0.5379 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.6102, allocations: 1.799 MB / 0.5396 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6103, allocations: 4.578 kB / 0.5396 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.6109, allocations: 161.2 kB / 0.5398 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.6127, allocations: 301.7 kB / 0.5401 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.6128, allocations: 34.38 kB / 0.5401 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004867/0.6132, allocations: 1.289 MB / 0.5414 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6132, allocations: 1.25 kB / 0.5414 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.6155, allocations: 1.423 MB / 0.5428 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6156, allocations: 53.42 kB / 0.5428 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.6157, allocations: 18.86 kB / 0.5428 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.6162, allocations: 33.47 kB / 0.5429 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.6163, allocations: 55.03 kB / 0.5429 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.551e-05/0.6164, allocations: 44.22 kB / 0.5429 GB, free: 104 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.6167, allocations: 280.5 kB / 0.5432 GB, free: 103.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6167, allocations: 0 / 0.5432 GB, free: 103.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003036/0.6197, allocations: 1.425 MB / 0.5446 GB, free: 103.8 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.006837/0.6266, allocations: 3.598 MB / 0.5481 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.6282, allocations: 1.11 MB / 0.5492 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6282, allocations: 0 / 0.5492 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.6289, allocations: 477.3 kB / 0.5497 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.6305, allocations: 396.8 kB / 0.55 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008642/0.6391, allocations: 7.078 MB / 0.5569 GB, free: 94.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.6393, allocations: 316.5 kB / 0.5573 GB, free: 94.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005904/0.6399, allocations: 212.9 kB / 0.5575 GB, free: 94.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.6402, allocations: 223.4 kB / 0.5577 GB, free: 94.12 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6402, allocations: 0 / 0.5577 GB, free: 94.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07669/0.7169, allocations: 59.12 MB / 0.6154 GB, free: 35.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.7, allocations: 10.66 kB / 0.6154 GB, free: 35.42 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 68.1655287760077] 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.90069430693984 15.916601951 15.546168855 Calling exit ...