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.001814/0.001814, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002771/0.002771, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.781 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.01386/0.01386, allocations: 2.807 MB / 315.2 MB, free: 88 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="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: 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.002013/0.002013, allocations: 71.88 kB / 438.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1017, allocations: 54.17 MB / 492.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.3016/0.4033, allocations: 73.94 MB / 0.5535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03829/0.4416, allocations: 35.21 MB / 0.5879 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.443, allocations: 4 kB / 0.5879 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003761/0.4467, allocations: 0.9938 MB / 0.5889 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02291/0.4696, allocations: 6.771 MB / 0.5955 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4708, allocations: 266.1 kB / 0.5957 GB, free: 396 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.473, allocations: 1.346 MB / 0.597 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.4732, allocations: 55.19 kB / 0.5971 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.4739, allocations: 433.9 kB / 0.5975 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008799/0.4748, allocations: 481.4 kB / 0.598 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4749, allocations: 36 kB / 0.598 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.641/2.115, allocations: 167.9 MB / 0.762 GB, free: 88.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/2.116, allocations: 150.2 kB / 0.7621 GB, free: 88.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006415/2.116, allocations: 487.7 kB / 0.7626 GB, free: 88.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008531/2.125, allocations: 2.791 MB / 0.7653 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/2.125, allocations: 4 kB / 0.7653 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.255e-06/2.125, allocations: 4 kB / 0.7653 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.236e-05/2.125, allocations: 0 / 0.7653 GB, free: 86.43 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.001351/2.126, allocations: 1.529 MB / 0.7668 GB, free: 85.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/2.126, allocations: 12.03 kB / 0.7668 GB, free: 85.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/2.126, allocations: 203.5 kB / 0.767 GB, free: 84.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/2.13, allocations: 1.219 MB / 0.7682 GB, free: 84.17 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/2.13, allocations: 226 kB / 0.7684 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/2.13, allocations: 74.44 kB / 0.7685 GB, free: 83.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.116e-05/2.131, allocations: 97.48 kB / 0.7686 GB, free: 83.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/2.132, allocations: 1.751 MB / 0.7703 GB, free: 82.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/2.132, allocations: 5.625 kB / 0.7703 GB, free: 82.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/2.132, allocations: 38.44 kB / 0.7703 GB, free: 82.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/2.132, allocations: 78.48 kB / 0.7704 GB, free: 82.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/2.134, allocations: 1.664 MB / 0.772 GB, free: 81.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/2.137, allocations: 3.599 MB / 0.7755 GB, free: 79.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/2.138, allocations: 0.5305 MB / 0.776 GB, free: 79.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/2.139, allocations: 0.5025 MB / 0.7765 GB, free: 78.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/2.14, allocations: 1.326 MB / 0.7778 GB, free: 77.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/2.14, allocations: 34.56 kB / 0.7779 GB, free: 77.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.044e-06/2.14, allocations: 0 / 0.7779 GB, free: 77.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002427/2.142, allocations: 1.526 MB / 0.7794 GB, free: 76.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/2.142, allocations: 88.92 kB / 0.7794 GB, free: 76.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/2.143, allocations: 144.1 kB / 0.7796 GB, free: 76.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/2.143, allocations: 25.7 kB / 0.7796 GB, free: 76.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/2.143, allocations: 404.3 kB / 0.78 GB, free: 76.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/2.143, allocations: 0.5913 MB / 0.7806 GB, free: 75.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/2.143, allocations: 142.9 kB / 0.7807 GB, free: 75.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.837e-05/2.143, allocations: 306 kB / 0.781 GB, free: 75.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/2.143, allocations: 342 kB / 0.7813 GB, free: 75.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/2.144, allocations: 0.4954 MB / 0.7818 GB, free: 74.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/2.145, allocations: 1.029 MB / 0.7828 GB, free: 74.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.145, allocations: 0 / 0.7828 GB, free: 74.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001116/2.146, allocations: 1.064 MB / 0.7838 GB, free: 73.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.146, allocations: 11.94 kB / 0.7839 GB, free: 73.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/2.146, allocations: 0 / 0.7839 GB, free: 73.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/2.146, allocations: 8 kB / 0.7839 GB, free: 73.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/2.146, allocations: 30.33 kB / 0.7839 GB, free: 73.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/2.146, allocations: 6.656 kB / 0.7839 GB, free: 73.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/2.146, allocations: 91.08 kB / 0.784 GB, free: 73.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/2.146, allocations: 24 kB / 0.784 GB, free: 73.11 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.0003044/2.147, allocations: 216.4 kB / 0.7842 GB, free: 72.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/2.147, allocations: 55.56 kB / 0.7843 GB, free: 72.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/2.147, allocations: 31.88 kB / 0.7843 GB, free: 72.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/2.147, allocations: 8 kB / 0.7843 GB, free: 72.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/2.147, allocations: 0 / 0.7843 GB, free: 72.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/2.147, allocations: 3.984 kB / 0.7843 GB, free: 72.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/2.148, allocations: 0.9245 MB / 0.7852 GB, free: 71.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/2.148, allocations: 8 kB / 0.7852 GB, free: 71.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/2.148, allocations: 8 kB / 0.7852 GB, free: 71.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/2.148, allocations: 64 / 0.7852 GB, free: 71.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/2.148, allocations: 16 kB / 0.7852 GB, free: 71.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/2.148, allocations: 0 / 0.7852 GB, free: 71.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/2.148, allocations: 0 / 0.7852 GB, free: 71.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/2.149, allocations: 1.211 MB / 0.7864 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/2.149, allocations: 79.23 kB / 0.7865 GB, free: 70.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/2.149, allocations: 8 kB / 0.7865 GB, free: 70.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/2.149, allocations: 0 / 0.7865 GB, free: 70.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/2.149, allocations: 19.98 kB / 0.7865 GB, free: 70.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/2.149, allocations: 16 kB / 0.7865 GB, free: 70.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.849e-05/2.149, allocations: 99.27 kB / 0.7866 GB, free: 70.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/2.149, allocations: 3.281 kB / 0.7866 GB, free: 70.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009617/2.15, allocations: 390.8 kB / 0.787 GB, free: 69.99 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.001967/2.152, allocations: 2.177 MB / 0.7891 GB, free: 67.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001248/2.154, allocations: 1.577 MB / 0.7907 GB, free: 66.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/2.154, allocations: 0 / 0.7907 GB, free: 66.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/2.154, allocations: 1.646 MB / 0.7923 GB, free: 64.15 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/2.156, allocations: 469.6 kB / 0.7927 GB, free: 63.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/2.161, allocations: 2.402 MB / 0.7951 GB, free: 61.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/2.161, allocations: 0.7154 MB / 0.7958 GB, free: 60.49 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006338/2.162, allocations: 182.2 kB / 0.796 GB, free: 60.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/2.163, allocations: 0.6243 MB / 0.7966 GB, free: 59.69 MB / 0.5294 GB Notification: Performance of SimCode: time 1.213e-06/2.163, allocations: 0 / 0.7966 GB, free: 59.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07327/2.236, allocations: 44.02 MB / 0.8396 GB, free: 16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/15.22, allocations: 3.953 kB / 0.8396 GB, free: 16 MB / 0.5294 GB " [Timeout remaining time 644] (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: 20.907355446834117] Failed to read output from testmodel.py, exit status != 0: 15.570945647079498 15.582334784 13.455078389 Calling exit ...