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.001235/0.001235, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001357/0.001357, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0131/0.0131, allocations: 2.808 MB / 316 MB, free: 292 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.17 kB / 439.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1107, allocations: 54.18 MB / 493.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.304/0.4146, allocations: 83.87 MB / 0.564 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0405/0.4551, allocations: 40.86 MB / 0.6039 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.4565, allocations: 8 kB / 0.6039 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.4601, allocations: 1.235 MB / 0.6051 GB, free: 8.941 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02331/0.4834, allocations: 6.978 MB / 0.6119 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.4845, allocations: 274 kB / 0.6122 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.4868, allocations: 1.346 MB / 0.6135 GB, free: 296 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.4869, allocations: 51.2 kB / 0.6136 GB, free: 232 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/0.4874, allocations: 430 kB / 0.614 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.4881, allocations: 0.4935 MB / 0.6145 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.4882, allocations: 40 kB / 0.6145 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693/2.181, allocations: 167.9 MB / 0.7785 GB, free: 62.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/2.182, allocations: 148.5 kB / 0.7786 GB, free: 62.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/2.183, allocations: 0.5961 MB / 0.7792 GB, free: 62.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01618/2.199, allocations: 2.783 MB / 0.7819 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/2.199, allocations: 4 kB / 0.7819 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/2.199, allocations: 0 / 0.7819 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.406e-05/2.199, allocations: 3.938 kB / 0.7819 GB, free: 60.63 MB / 0.5294 GB 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.002509/2.201, allocations: 1.549 MB / 0.7834 GB, free: 59.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/2.202, allocations: 12.03 kB / 0.7835 GB, free: 59.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.451e-05/2.202, allocations: 30.19 kB / 0.7835 GB, free: 59.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/2.202, allocations: 201 kB / 0.7837 GB, free: 59.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008345/2.21, allocations: 1.219 MB / 0.7849 GB, free: 58.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/2.211, allocations: 230.6 kB / 0.7851 GB, free: 58.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/2.211, allocations: 82.98 kB / 0.7852 GB, free: 58.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/2.211, allocations: 93.06 kB / 0.7853 GB, free: 58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/2.214, allocations: 1.742 MB / 0.787 GB, free: 56.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/2.214, allocations: 0 / 0.787 GB, free: 56.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/2.214, allocations: 38.56 kB / 0.787 GB, free: 56.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.762e-05/2.214, allocations: 70.88 kB / 0.7871 GB, free: 56.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/2.217, allocations: 1.673 MB / 0.7887 GB, free: 55.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/2.224, allocations: 8.558 MB / 0.7971 GB, free: 47.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/2.225, allocations: 0.5282 MB / 0.7976 GB, free: 47.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/2.226, allocations: 0.5005 MB / 0.7981 GB, free: 47.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002694/2.229, allocations: 1.426 MB / 0.7995 GB, free: 45.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/2.229, allocations: 37.75 kB / 0.7995 GB, free: 45.92 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.785e-06/2.229, allocations: 0 / 0.7995 GB, free: 45.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.003355/2.232, allocations: 1.531 MB / 0.801 GB, free: 44.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/2.232, allocations: 77.11 kB / 0.8011 GB, free: 44.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/2.232, allocations: 137.3 kB / 0.8012 GB, free: 44.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/2.232, allocations: 25.7 kB / 0.8012 GB, free: 44.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/2.233, allocations: 406.1 kB / 0.8016 GB, free: 44.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/2.233, allocations: 0.599 MB / 0.8022 GB, free: 43.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/2.233, allocations: 143.8 kB / 0.8023 GB, free: 43.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.766e-05/2.233, allocations: 306 kB / 0.8026 GB, free: 43.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/2.234, allocations: 341.2 kB / 0.8029 GB, free: 43.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/2.234, allocations: 0.4958 MB / 0.8034 GB, free: 42.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/2.235, allocations: 1.022 MB / 0.8044 GB, free: 42.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/2.235, allocations: 8 kB / 0.8044 GB, free: 42.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001202/2.236, allocations: 1.05 MB / 0.8055 GB, free: 41.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/2.236, allocations: 8 kB / 0.8055 GB, free: 41.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.236, allocations: 4 kB / 0.8055 GB, free: 41.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/2.236, allocations: 4.406 kB / 0.8055 GB, free: 41.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/2.236, allocations: 34.98 kB / 0.8055 GB, free: 41.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/2.236, allocations: 10.69 kB / 0.8055 GB, free: 41.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/2.237, allocations: 88.7 kB / 0.8056 GB, free: 41.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/2.237, allocations: 18.88 kB / 0.8056 GB, free: 41.51 MB / 0.5294 GB 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.0003694/2.237, allocations: 228.4 kB / 0.8058 GB, free: 41.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/2.237, allocations: 55.56 kB / 0.8059 GB, free: 41.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.221e-05/2.237, allocations: 39.83 kB / 0.8059 GB, free: 41.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/2.237, allocations: 7.922 kB / 0.8059 GB, free: 41.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/2.237, allocations: 8 kB / 0.8059 GB, free: 41.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/2.237, allocations: 0 / 0.8059 GB, free: 41.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/2.238, allocations: 1.008 MB / 0.8069 GB, free: 40.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/2.238, allocations: 0 / 0.8069 GB, free: 40.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/2.238, allocations: 12 kB / 0.8069 GB, free: 40.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/2.238, allocations: 0 / 0.8069 GB, free: 40.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/2.238, allocations: 15.98 kB / 0.807 GB, free: 40.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/2.238, allocations: 0 / 0.807 GB, free: 40.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.238, allocations: 3.984 kB / 0.807 GB, free: 40.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/2.239, allocations: 1.209 MB / 0.8081 GB, free: 38.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/2.24, allocations: 83.14 kB / 0.8082 GB, free: 38.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/2.24, allocations: 8.062 kB / 0.8082 GB, free: 38.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/2.24, allocations: 0 / 0.8082 GB, free: 38.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/2.24, allocations: 23.97 kB / 0.8082 GB, free: 38.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/2.24, allocations: 16 kB / 0.8083 GB, free: 38.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.359e-05/2.24, allocations: 95.27 kB / 0.8084 GB, free: 38.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/2.24, allocations: 0 / 0.8084 GB, free: 38.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001012/2.241, allocations: 383 kB / 0.8087 GB, free: 38.32 MB / 0.5294 GB 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.002264/2.243, allocations: 2.18 MB / 0.8108 GB, free: 36.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00173/2.245, allocations: 1.573 MB / 0.8124 GB, free: 34.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/2.245, allocations: 0 / 0.8124 GB, free: 34.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000929/2.246, allocations: 1.633 MB / 0.814 GB, free: 32.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/2.248, allocations: 473.6 kB / 0.8144 GB, free: 32.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/2.252, allocations: 2.398 MB / 0.8168 GB, free: 29.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/2.253, allocations: 1.293 MB / 0.818 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006019/2.253, allocations: 179.5 kB / 0.8182 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/2.254, allocations: 0.6243 MB / 0.8188 GB, free: 27.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/2.254, allocations: 0 / 0.8188 GB, free: 27.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07479/2.329, allocations: 44.87 MB / 0.8626 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/17.34, allocations: 12.48 kB / 0.8626 GB, free: 14.93 MB / 0.5606 GB " [Timeout remaining time 642] (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: 25.80289506004192] Failed to read output from testmodel.py, exit status != 0: 17.743561825947836 17.770796285 15.568002965 Calling exit ...