Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 108.6 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 183.5 kB / 24.5 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 55.92 kB / 371.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2253, allocations: 52.19 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07688/0.3022, allocations: 66.25 MB / 489.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007828/0.31, allocations: 5.496 MB / 495.2 MB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005163/0.3105, allocations: 11.94 kB / 495.2 MB, free: 6.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3118, allocations: 365.9 kB / 495.5 MB, free: 6.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.313, allocations: 0.5127 MB / 496.1 MB, free: 5.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01783/0.3308, allocations: 7.518 MB / 0.4918 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.333, allocations: 1.579 MB / 0.4933 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.3333, allocations: 157.4 kB / 0.4935 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3345, allocations: 0.6347 MB / 0.4941 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.3355, allocations: 0.6073 MB / 0.4947 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.3356, allocations: 84 kB / 0.4948 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/0.3547, allocations: 10.45 MB / 0.505 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.3551, allocations: 323.2 kB / 0.5053 GB, free: 400 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006319/0.3558, allocations: 446.5 kB / 0.5057 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.3685, allocations: 5.955 MB / 0.5115 GB, free: 9.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3685, allocations: 0 / 0.5115 GB, free: 9.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3685, allocations: 3.938 kB / 0.5115 GB, free: 9.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.3686, allocations: 4 kB / 0.5115 GB, free: 9.977 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.003944/0.3725, allocations: 1.529 MB / 0.513 GB, free: 8.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3725, allocations: 8.031 kB / 0.513 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.103e-05/0.3726, allocations: 21.25 kB / 0.513 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.3727, allocations: 110.5 kB / 0.5131 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.3731, allocations: 87.52 kB / 0.5132 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.3738, allocations: 383.2 kB / 0.5136 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.3739, allocations: 49.31 kB / 0.5136 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.374, allocations: 60 kB / 0.5137 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.3759, allocations: 0.8224 MB / 0.5145 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.3759, allocations: 4 kB / 0.5145 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.376, allocations: 28 kB / 0.5145 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.376, allocations: 12 kB / 0.5145 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.378, allocations: 1.036 MB / 0.5155 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.3924, allocations: 4.985 MB / 0.5204 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.3942, allocations: 0.7108 MB / 0.5211 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.3948, allocations: 390.6 kB / 0.5215 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.4052, allocations: 2.608 MB / 0.524 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.4053, allocations: 43.22 kB / 0.5241 GB, free: 12.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.4053, allocations: 0 / 0.5241 GB, free: 12.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009956/0.4153, allocations: 3.155 MB / 0.5271 GB, free: 9.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4153, allocations: 68.34 kB / 0.5272 GB, free: 9.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.4157, allocations: 360.5 kB / 0.5276 GB, free: 9.172 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.4159, allocations: 41.7 kB / 0.5276 GB, free: 9.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.416, allocations: 245.2 kB / 0.5278 GB, free: 8.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.4163, allocations: 317.2 kB / 0.5281 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.4166, allocations: 162.6 kB / 0.5283 GB, free: 8.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4167, allocations: 362.8 kB / 0.5286 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.4173, allocations: 369.8 kB / 0.529 GB, free: 7.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/0.4183, allocations: 496.2 kB / 0.5295 GB, free: 7.164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.4201, allocations: 0.9059 MB / 0.5303 GB, free: 6.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4201, allocations: 0 / 0.5303 GB, free: 6.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002709/0.4228, allocations: 1.125 MB / 0.5314 GB, free: 5.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.4228, allocations: 4 kB / 0.5314 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4228, allocations: 4 kB / 0.5315 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/0.4237, allocations: 159.5 kB / 0.5316 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.4245, allocations: 195.7 kB / 0.5318 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.4275, allocations: 3.911 MB / 0.5356 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.428, allocations: 23.97 kB / 0.5356 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4281, allocations: 48.22 kB / 0.5357 GB, free: 464 kB / 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.0003794/0.4284, allocations: 233 kB / 0.5359 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.4288, allocations: 71.56 kB / 0.536 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1793/0.6081, allocations: 1.268 MB / 0.5372 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.6082, allocations: 9.062 kB / 0.5372 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6082, allocations: 3.219 kB / 0.5372 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001748/0.6099, allocations: 1.319 MB / 0.5385 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.6132, allocations: 1.938 MB / 0.5404 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6132, allocations: 1.75 kB / 0.5404 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.6138, allocations: 162 kB / 0.5406 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.6155, allocations: 297.4 kB / 0.5408 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/0.6156, allocations: 27.5 kB / 0.5409 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005214/0.6161, allocations: 1.292 MB / 0.5421 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6161, allocations: 3.969 kB / 0.5421 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.6184, allocations: 1.409 MB / 0.5435 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.6186, allocations: 60.83 kB / 0.5436 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.6187, allocations: 19.94 kB / 0.5436 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.6192, allocations: 35.23 kB / 0.5436 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.6193, allocations: 56.39 kB / 0.5437 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.394e-05/0.6194, allocations: 50.28 kB / 0.5437 GB, free: 109.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.6197, allocations: 283.2 kB / 0.544 GB, free: 109.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6197, allocations: 0 / 0.544 GB, free: 109.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003548/0.6232, allocations: 1.415 MB / 0.5454 GB, free: 109.5 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.007998/0.6312, allocations: 3.606 MB / 0.5489 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.6332, allocations: 1.106 MB / 0.55 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6332, allocations: 2.688 kB / 0.55 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008439/0.6341, allocations: 477 kB / 0.5504 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.6359, allocations: 387.8 kB / 0.5508 GB, free: 107.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.646, allocations: 7.081 MB / 0.5577 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.6463, allocations: 0.9128 MB / 0.5586 GB, free: 99.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006775/0.647, allocations: 209.2 kB / 0.5588 GB, free: 99.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.6473, allocations: 227.4 kB / 0.559 GB, free: 99.27 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6473, allocations: 0 / 0.559 GB, free: 99.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/0.7295, allocations: 57.66 MB / 0.6153 GB, free: 41.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.33, allocations: 10.72 kB / 0.6153 GB, free: 41.82 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.7945156210335] 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.52736961597111 15.535619114 15.164779807 Calling exit ...