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.001324/0.001324, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.001425/0.001425, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.42/1.42, allocations: 230.4 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] 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.001902/0.001902, allocations: 63.91 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09792, allocations: 53.36 MB / 427.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2555/0.3535, allocations: 66.02 MB / 493.1 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008395/0.3619, allocations: 5.477 MB / 498.6 MB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.3625, allocations: 9.594 kB / 498.6 MB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.3638, allocations: 357.5 kB / 498.9 MB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.3651, allocations: 0.5164 MB / 499.4 MB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02018/0.3853, allocations: 7.479 MB / 0.495 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.3877, allocations: 1.544 MB / 0.4965 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.3881, allocations: 163.7 kB / 0.4967 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.3896, allocations: 0.6385 MB / 0.4973 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.3908, allocations: 0.6092 MB / 0.4979 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.3911, allocations: 83.28 kB / 0.498 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01997/0.411, allocations: 10.41 MB / 0.5082 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006838/0.4117, allocations: 323.2 kB / 0.5085 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000913/0.4126, allocations: 442.3 kB / 0.5089 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.43, allocations: 5.974 MB / 0.5147 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.43, allocations: 0 / 0.5147 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.43, allocations: 0 / 0.5147 GB, free: 5.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.43, allocations: 0 / 0.5147 GB, free: 5.898 MB / 414.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.005321/0.4353, allocations: 1.612 MB / 0.5163 GB, free: 4.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4354, allocations: 12.03 kB / 0.5163 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.366e-05/0.4354, allocations: 17.31 kB / 0.5163 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.4356, allocations: 106.5 kB / 0.5164 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/0.4361, allocations: 83.58 kB / 0.5165 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.437, allocations: 453 kB / 0.5169 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.437, allocations: 50.69 kB / 0.517 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.4371, allocations: 63.95 kB / 0.517 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.4392, allocations: 0.8107 MB / 0.5178 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.4393, allocations: 7.938 kB / 0.5178 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.4393, allocations: 28 kB / 0.5179 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4394, allocations: 19.98 kB / 0.5179 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.4415, allocations: 1.02 MB / 0.5189 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.4612, allocations: 12.77 MB / 0.5314 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.4631, allocations: 0.7099 MB / 0.532 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.4638, allocations: 394.9 kB / 0.5324 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/0.4815, allocations: 12.24 MB / 0.5444 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/0.4816, allocations: 47.16 kB / 0.5444 GB, free: 2.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.4816, allocations: 4 kB / 0.5444 GB, free: 2.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01057/0.4922, allocations: 3.376 MB / 0.5477 GB, free: 15.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4922, allocations: 64.41 kB / 0.5478 GB, free: 15.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.4927, allocations: 356.5 kB / 0.5481 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.4928, allocations: 41.7 kB / 0.5482 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.493, allocations: 241.2 kB / 0.5484 GB, free: 14.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.4933, allocations: 325.2 kB / 0.5487 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.4936, allocations: 166.6 kB / 0.5489 GB, free: 14.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4938, allocations: 358.8 kB / 0.5492 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.4944, allocations: 369.8 kB / 0.5496 GB, free: 13.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.4954, allocations: 496.2 kB / 0.55 GB, free: 12.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.4972, allocations: 0.9021 MB / 0.5509 GB, free: 11.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4973, allocations: 0 / 0.5509 GB, free: 11.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002798/0.5, allocations: 1.121 MB / 0.552 GB, free: 10.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.5001, allocations: 4 kB / 0.552 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5001, allocations: 7.938 kB / 0.552 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008596/0.5009, allocations: 159.5 kB / 0.5522 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.5017, allocations: 195.7 kB / 0.5524 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.5053, allocations: 4.12 MB / 0.5564 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.5058, allocations: 16 kB / 0.5564 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.5059, allocations: 48.23 kB / 0.5564 GB, free: 5.969 MB / 462.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.0004482/0.5064, allocations: 229.6 kB / 0.5567 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.5068, allocations: 63.67 kB / 0.5567 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.5095, allocations: 1.281 MB / 0.558 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5095, allocations: 12 kB / 0.558 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5095, allocations: 0 / 0.558 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002134/0.5116, allocations: 1.32 MB / 0.5593 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.5153, allocations: 1.964 MB / 0.5612 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5153, allocations: 0 / 0.5612 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.5161, allocations: 167.8 kB / 0.5614 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.5179, allocations: 289.3 kB / 0.5616 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.518, allocations: 31.98 kB / 0.5617 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009929/0.519, allocations: 1.289 MB / 0.5629 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.519, allocations: 0 / 0.5629 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.5218, allocations: 1.421 MB / 0.5643 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.522, allocations: 132.9 kB / 0.5644 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.5221, allocations: 20 kB / 0.5645 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.5227, allocations: 35.95 kB / 0.5645 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5228, allocations: 56.92 kB / 0.5645 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/0.5229, allocations: 35.97 kB / 0.5646 GB, free: 13.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003513/0.5232, allocations: 287 kB / 0.5649 GB, free: 13.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5232, allocations: 0 / 0.5649 GB, free: 13.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003988/0.5272, allocations: 1.423 MB / 0.5662 GB, free: 11.59 MB / 478.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.009223/0.5364, allocations: 3.598 MB / 0.5698 GB, free: 7.949 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.5389, allocations: 1.105 MB / 0.5708 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5389, allocations: 0 / 0.5708 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5399, allocations: 483.9 kB / 0.5713 GB, free: 6.332 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.542, allocations: 386.7 kB / 0.5717 GB, free: 5.957 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.5562, allocations: 7.092 MB / 0.5786 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.5568, allocations: 0.9089 MB / 0.5795 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008349/0.5577, allocations: 205.2 kB / 0.5797 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.5581, allocations: 231.3 kB / 0.5799 GB, free: 13.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5581, allocations: 0 / 0.5799 GB, free: 13.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/0.6874, allocations: 57.17 MB / 0.6357 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.84, allocations: 8.062 kB / 0.6357 GB, free: 4.246 MB / 0.5294 GB " [Timeout remaining time 645] (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.57723552401876] 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.016067539982032 15.176336756 14.744009276 Calling exit ...