Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.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.000982/0.000982, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001243/0.001243, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9204/0.9204, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01118/0.01118, allocations: 1.977 MB / 261.2 MB, free: 11.26 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 384.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.327e-05, allocations: 5.094 kB / 384.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.1898/0.1899, allocations: 73.56 MB / 458.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02048/0.2103, allocations: 35.2 MB / 493.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.2109, allocations: 4 kB / 493.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.2128, allocations: 1.024 MB / 494.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01574/0.2286, allocations: 7.04 MB / 0.4897 GB, free: 16 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.2294, allocations: 281.8 kB / 0.49 GB, free: 15.74 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.231, allocations: 1.446 MB / 0.4914 GB, free: 14.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2311, allocations: 47.22 kB / 0.4915 GB, free: 14.22 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006807/0.2318, allocations: 0.6114 MB / 0.4921 GB, free: 13.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.2323, allocations: 394.8 kB / 0.4924 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.2323, allocations: 36 kB / 0.4925 GB, free: 13.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165/1.397, allocations: 167.9 MB / 0.6565 GB, free: 56.7 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/1.397, allocations: 154.8 kB / 0.6566 GB, free: 56.66 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008736/1.398, allocations: 404.7 kB / 0.657 GB, free: 56.38 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009302/1.407, allocations: 2.785 MB / 0.6597 GB, free: 54.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.407, allocations: 0 / 0.6597 GB, free: 54.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.407, allocations: 0 / 0.6597 GB, free: 54.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.567e-05/1.408, allocations: 0.875 kB / 0.6597 GB, free: 54.75 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001847/1.409, allocations: 1.524 MB / 0.6612 GB, free: 53.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.409, allocations: 8.031 kB / 0.6612 GB, free: 53.43 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/1.41, allocations: 207.7 kB / 0.6614 GB, free: 53.29 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/1.412, allocations: 1.218 MB / 0.6626 GB, free: 52.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/1.412, allocations: 222.5 kB / 0.6628 GB, free: 52.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/1.412, allocations: 73 kB / 0.6629 GB, free: 52.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/1.412, allocations: 95.25 kB / 0.663 GB, free: 52.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.414, allocations: 1.746 MB / 0.6647 GB, free: 51.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/1.414, allocations: 3.938 kB / 0.6647 GB, free: 51.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/1.414, allocations: 38.56 kB / 0.6647 GB, free: 51.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/1.414, allocations: 74.81 kB / 0.6648 GB, free: 51.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/1.415, allocations: 1.668 MB / 0.6664 GB, free: 50.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/1.418, allocations: 3.616 MB / 0.6699 GB, free: 47.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/1.418, allocations: 0.5271 MB / 0.6705 GB, free: 47.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/1.418, allocations: 0.4993 MB / 0.6709 GB, free: 47.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009895/1.419, allocations: 1.33 MB / 0.6722 GB, free: 46.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/1.419, allocations: 38.56 kB / 0.6723 GB, free: 46.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 1.583e-06/1.419, allocations: 2.625 kB / 0.6723 GB, free: 46.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=182): time 0.001072/1.42, allocations: 1.53 MB / 0.6738 GB, free: 44.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/1.42, allocations: 81.11 kB / 0.6739 GB, free: 44.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/1.421, allocations: 141.7 kB / 0.674 GB, free: 44.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/1.421, allocations: 25.7 kB / 0.674 GB, free: 44.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/1.421, allocations: 405.1 kB / 0.6744 GB, free: 43.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/1.421, allocations: 0.5921 MB / 0.675 GB, free: 43.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.421, allocations: 141.6 kB / 0.6751 GB, free: 43.26 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.584e-05/1.421, allocations: 306 kB / 0.6754 GB, free: 42.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/1.421, allocations: 341.9 kB / 0.6757 GB, free: 42.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/1.421, allocations: 0.489 MB / 0.6762 GB, free: 42.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/1.422, allocations: 1.028 MB / 0.6772 GB, free: 41.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.422, allocations: 4 kB / 0.6772 GB, free: 41.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0007376/1.423, allocations: 1.043 MB / 0.6782 GB, free: 39.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.423, allocations: 15.92 kB / 0.6782 GB, free: 39.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.423, allocations: 4 kB / 0.6783 GB, free: 39.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.423, allocations: 4 kB / 0.6783 GB, free: 39.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/1.423, allocations: 31.69 kB / 0.6783 GB, free: 39.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.423, allocations: 11.98 kB / 0.6783 GB, free: 39.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/1.423, allocations: 93.81 kB / 0.6784 GB, free: 39.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/1.423, allocations: 19.09 kB / 0.6784 GB, free: 39.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001873/1.423, allocations: 222.5 kB / 0.6786 GB, free: 39.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/1.423, allocations: 47.62 kB / 0.6787 GB, free: 39.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/1.423, allocations: 39.83 kB / 0.6787 GB, free: 39.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.423, allocations: 3.984 kB / 0.6787 GB, free: 39.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.423, allocations: 4 kB / 0.6787 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.423, allocations: 0 / 0.6787 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/1.424, allocations: 0.9348 MB / 0.6796 GB, free: 38.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.424, allocations: 0 / 0.6796 GB, free: 38.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/1.424, allocations: 7.984 kB / 0.6796 GB, free: 38.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.424, allocations: 4 kB / 0.6796 GB, free: 38.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.424, allocations: 15.94 kB / 0.6796 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.424, allocations: 7.281 kB / 0.6797 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.424, allocations: 0 / 0.6797 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/1.425, allocations: 1.196 MB / 0.6808 GB, free: 37.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/1.425, allocations: 73.98 kB / 0.6809 GB, free: 37.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/1.425, allocations: 15.92 kB / 0.6809 GB, free: 37.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.425, allocations: 0 / 0.6809 GB, free: 37.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/1.425, allocations: 23.98 kB / 0.6809 GB, free: 37.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.425, allocations: 20.06 kB / 0.681 GB, free: 37.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.501e-05/1.425, allocations: 98.55 kB / 0.681 GB, free: 37.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.425, allocations: 0 / 0.681 GB, free: 37.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005591/1.425, allocations: 386.9 kB / 0.6814 GB, free: 36.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001308/1.427, allocations: 2.183 MB / 0.6835 GB, free: 34.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007964/1.428, allocations: 1.573 MB / 0.6851 GB, free: 32.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.428, allocations: 0 / 0.6851 GB, free: 32.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/1.428, allocations: 1.635 MB / 0.6867 GB, free: 30.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.429, allocations: 469.6 kB / 0.6871 GB, free: 30.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/1.431, allocations: 2.364 MB / 0.6894 GB, free: 27.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/1.432, allocations: 0.7115 MB / 0.6901 GB, free: 27.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004951/1.432, allocations: 183.5 kB / 0.6903 GB, free: 27.06 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/1.433, allocations: 0.6214 MB / 0.6909 GB, free: 26.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/1.433, allocations: 3.938 kB / 0.6909 GB, free: 26.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/1.484, allocations: 44 MB / 0.7339 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/9.227, allocations: 15.84 kB / 0.7339 GB, free: 14.69 MB / 0.4948 GB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.601207448169589] Failed to read output from testmodel.py, exit status != 0: 9.580430200323462 9.588717859 8.179379051 Calling exit ...