Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.001244/0.001244, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001416/0.001416, allocations: 213.1 kB / 22.25 MB, free: 4.855 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 / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04851/0.04851, allocations: 9.142 MB / 321.6 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) 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(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.91 kB / 446.6 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1016, allocations: 54.94 MB / 0.4898 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02059/0.1222, allocations: 17.89 MB / 0.5072 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2168/0.339, allocations: 15.17 MB / 0.522 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.3393, allocations: 1.156 kB / 0.522 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.3407, allocations: 0.5121 MB / 0.5225 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.3532, allocations: 5.552 MB / 0.528 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.356, allocations: 1.093 MB / 0.529 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008501/0.3568, allocations: 0.7977 MB / 0.5298 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.3569, allocations: 26.83 kB / 0.5298 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.3573, allocations: 342.9 kB / 0.5302 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.3576, allocations: 281 kB / 0.5304 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.3577, allocations: 28.78 kB / 0.5305 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.3702, allocations: 6.6 MB / 0.5369 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3704, allocations: 93.5 kB / 0.537 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.3707, allocations: 228.3 kB / 0.5372 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008015/0.3788, allocations: 3.506 MB / 0.5406 GB, free: 4.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3788, allocations: 1.469 kB / 0.5406 GB, free: 4.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3788, allocations: 0 / 0.5406 GB, free: 4.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.3788, allocations: 0 / 0.5406 GB, free: 4.062 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002453/0.3812, allocations: 1.152 MB / 0.5418 GB, free: 3.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3813, allocations: 14.03 kB / 0.5418 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/0.3814, allocations: 99.36 kB / 0.5419 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.3818, allocations: 100.4 kB / 0.542 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3819, allocations: 163.6 kB / 0.5421 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.382, allocations: 19.22 kB / 0.5421 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.382, allocations: 28.12 kB / 0.5422 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3834, allocations: 1.331 MB / 0.5435 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3834, allocations: 4.516 kB / 0.5435 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.3834, allocations: 8.625 kB / 0.5435 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.3834, allocations: 29.52 kB / 0.5435 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.3856, allocations: 2.433 MB / 0.5459 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.3876, allocations: 2.155 MB / 0.548 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3889, allocations: 1.18 MB / 0.5491 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.3901, allocations: 1.117 MB / 0.5502 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/0.4074, allocations: 3.918 MB / 0.554 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.4074, allocations: 39.78 kB / 0.5541 GB, free: 13.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.685e-06/0.4074, allocations: 3.938 kB / 0.5541 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.004801/0.4122, allocations: 3.809 MB / 0.5578 GB, free: 9.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.4123, allocations: 60.06 kB / 0.5579 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4124, allocations: 116.7 kB / 0.558 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.4124, allocations: 33.7 kB / 0.558 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.4125, allocations: 87.08 kB / 0.5581 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.4129, allocations: 0.6095 MB / 0.5587 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.4131, allocations: 154.3 kB / 0.5588 GB, free: 8.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4133, allocations: 313.9 kB / 0.5591 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.4145, allocations: 1.088 MB / 0.5602 GB, free: 7.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.4157, allocations: 1.102 MB / 0.5613 GB, free: 5.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.4184, allocations: 2.363 MB / 0.5636 GB, free: 3.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4184, allocations: 0 / 0.5636 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003047/0.4215, allocations: 2.471 MB / 0.566 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4215, allocations: 12 kB / 0.566 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4215, allocations: 0 / 0.566 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4215, allocations: 0 / 0.566 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.4221, allocations: 115.8 kB / 0.5661 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.4221, allocations: 4 kB / 0.5661 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.4226, allocations: 90.83 kB / 0.5662 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.4226, allocations: 32.72 kB / 0.5662 GB, free: 0.8867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.4229, allocations: 165 kB / 0.5664 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.423, allocations: 55.62 kB / 0.5664 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.4265, allocations: 2.785 MB / 0.5692 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.4265, allocations: 27.23 kB / 0.5692 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4265, allocations: 5.125 kB / 0.5692 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4265, allocations: 3.984 kB / 0.5692 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.4278, allocations: 1.128 MB / 0.5703 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4278, allocations: 0 / 0.5703 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.4284, allocations: 131.8 kB / 0.5704 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.4284, allocations: 4 kB / 0.5704 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.4284, allocations: 19.98 kB / 0.5705 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4284, allocations: 4.625 kB / 0.5705 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4284, allocations: 0 / 0.5705 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.4313, allocations: 2.457 MB / 0.5729 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.4316, allocations: 147 kB / 0.573 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.4316, allocations: 16 kB / 0.573 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.432, allocations: 22.05 kB / 0.573 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.4321, allocations: 48.91 kB / 0.5731 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.4321, allocations: 27.92 kB / 0.5731 GB, free: 9.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.345e-05/0.4322, allocations: 83.28 kB / 0.5732 GB, free: 9.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4322, allocations: 4 kB / 0.5732 GB, free: 9.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002609/0.4348, allocations: 0.8921 MB / 0.5741 GB, free: 8.828 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007029/0.4418, allocations: 4.22 MB / 0.5782 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.4446, allocations: 2.256 MB / 0.5804 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4446, allocations: 0 / 0.5804 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.4458, allocations: 1.069 MB / 0.5814 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.4476, allocations: 342.4 kB / 0.5818 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.4515, allocations: 2.125 MB / 0.5838 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.4518, allocations: 298.5 kB / 0.5841 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.4524, allocations: 247.8 kB / 0.5844 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.4527, allocations: 187.4 kB / 0.5845 GB, free: 14.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4527, allocations: 4 kB / 0.5845 GB, free: 14.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08634/0.539, allocations: 45.68 MB / 0.6291 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.13, allocations: 11.17 kB / 0.6291 GB, free: 0.8438 MB / 462.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.5727619221434] Failed to read output from testmodel.py, exit status != 0: 13.277675653342158 13.305952102000001 12.922203902 Calling exit ...