Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.0008611/0.0008611, 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.001022/0.001022, 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.9212/0.9212, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.008032/0.008032, allocations: 1.988 MB / 261.2 MB, free: 11.27 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_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.96e-05, allocations: 6.219 kB / 384.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.1914/0.1914, allocations: 73.55 MB / 458.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.2115, allocations: 35.19 MB / 493.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009883/0.2125, allocations: 4 kB / 493.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.2145, allocations: 1.024 MB / 494.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.229, allocations: 7.04 MB / 0.4897 GB, free: 52 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.2298, allocations: 281.8 kB / 0.49 GB, free: 15.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2313, allocations: 1.442 MB / 0.4914 GB, free: 14.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2314, allocations: 43.22 kB / 0.4915 GB, free: 14.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.2318, allocations: 0.6153 MB / 0.4921 GB, free: 13.65 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.2322, allocations: 394.8 kB / 0.4924 GB, free: 13.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.2322, allocations: 36 kB / 0.4925 GB, free: 13.23 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227/1.459, allocations: 170 MB / 0.6585 GB, free: 54.91 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/1.459, allocations: 158.4 kB / 0.6587 GB, free: 54.87 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007305/1.46, allocations: 400.2 kB / 0.659 GB, free: 54.59 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008491/1.468, allocations: 2.789 MB / 0.6618 GB, free: 52.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.468, allocations: 0.7656 kB / 0.6618 GB, free: 52.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.468, allocations: 0 / 0.6618 GB, free: 52.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/1.468, allocations: 0 / 0.6618 GB, free: 52.96 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.001123/1.469, allocations: 1.525 MB / 0.6633 GB, free: 51.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.469, allocations: 12.03 kB / 0.6633 GB, free: 51.63 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/1.47, allocations: 203.9 kB / 0.6635 GB, free: 51.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/1.472, allocations: 1.217 MB / 0.6647 GB, free: 50.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/1.472, allocations: 227.4 kB / 0.6649 GB, free: 50.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/1.472, allocations: 74.72 kB / 0.6649 GB, free: 50.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/1.472, allocations: 93.66 kB / 0.665 GB, free: 50.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.473, allocations: 1.75 MB / 0.6667 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.473, allocations: 3.938 kB / 0.6667 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/1.473, allocations: 38.31 kB / 0.6668 GB, free: 49.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/1.473, allocations: 70.5 kB / 0.6668 GB, free: 49.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009343/1.474, allocations: 1.67 MB / 0.6685 GB, free: 48.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/1.477, allocations: 3.612 MB / 0.672 GB, free: 45.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/1.477, allocations: 0.5268 MB / 0.6725 GB, free: 45.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/1.477, allocations: 0.5002 MB / 0.673 GB, free: 45.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009177/1.478, allocations: 1.327 MB / 0.6743 GB, free: 44.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/1.478, allocations: 34.56 kB / 0.6743 GB, free: 44.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 1.753e-06/1.478, allocations: 3.094 kB / 0.6743 GB, free: 44.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=182): time 0.001058/1.479, allocations: 1.53 MB / 0.6758 GB, free: 42.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/1.479, allocations: 83.69 kB / 0.6759 GB, free: 42.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/1.479, allocations: 145.6 kB / 0.6761 GB, free: 42.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/1.479, allocations: 25.7 kB / 0.6761 GB, free: 42.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/1.48, allocations: 402.8 kB / 0.6765 GB, free: 42.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/1.48, allocations: 0.5916 MB / 0.677 GB, free: 41.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.48, allocations: 133.6 kB / 0.6772 GB, free: 41.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.361e-05/1.48, allocations: 310.6 kB / 0.6775 GB, free: 41.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/1.48, allocations: 345.9 kB / 0.6778 GB, free: 40.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/1.48, allocations: 495.7 kB / 0.6783 GB, free: 40.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/1.481, allocations: 1.03 MB / 0.6793 GB, free: 39.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.481, allocations: 0 / 0.6793 GB, free: 39.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0007075/1.482, allocations: 1.053 MB / 0.6803 GB, free: 38.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.482, allocations: 16.69 kB / 0.6803 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.482, allocations: 0 / 0.6803 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.482, allocations: 8 kB / 0.6803 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/1.482, allocations: 27.38 kB / 0.6804 GB, free: 38.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.482, allocations: 12.33 kB / 0.6804 GB, free: 38.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/1.482, allocations: 88.45 kB / 0.6804 GB, free: 37.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/1.482, allocations: 24 kB / 0.6805 GB, free: 37.92 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.0001875/1.482, allocations: 226.4 kB / 0.6807 GB, free: 37.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/1.482, allocations: 51.62 kB / 0.6807 GB, free: 37.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/1.482, allocations: 40.47 kB / 0.6808 GB, free: 37.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.482, allocations: 4 kB / 0.6808 GB, free: 37.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.482, allocations: 0 / 0.6808 GB, free: 37.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/1.482, allocations: 3.984 kB / 0.6808 GB, free: 37.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/1.483, allocations: 0.9268 MB / 0.6817 GB, free: 36.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.483, allocations: 8 kB / 0.6817 GB, free: 36.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/1.483, allocations: 12.05 kB / 0.6817 GB, free: 36.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.483, allocations: 0 / 0.6817 GB, free: 36.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/1.483, allocations: 19.94 kB / 0.6817 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.483, allocations: 0 / 0.6817 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.483, allocations: 4 kB / 0.6817 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/1.484, allocations: 1.196 MB / 0.6829 GB, free: 35.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/1.484, allocations: 80.61 kB / 0.683 GB, free: 35.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/1.484, allocations: 15.92 kB / 0.683 GB, free: 35.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/1.484, allocations: 0 / 0.683 GB, free: 35.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/1.484, allocations: 20.75 kB / 0.683 GB, free: 35.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/1.484, allocations: 20 kB / 0.683 GB, free: 35.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.874e-05/1.484, allocations: 95.27 kB / 0.6831 GB, free: 35.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.484, allocations: 0 / 0.6831 GB, free: 35.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006245/1.484, allocations: 388.4 kB / 0.6835 GB, free: 34.78 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.001289/1.486, allocations: 2.179 MB / 0.6856 GB, free: 32.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007982/1.486, allocations: 1.574 MB / 0.6872 GB, free: 30.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.486, allocations: 4 kB / 0.6872 GB, free: 30.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/1.487, allocations: 1.639 MB / 0.6888 GB, free: 28.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/1.488, allocations: 461.7 kB / 0.6892 GB, free: 28.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/1.49, allocations: 2.362 MB / 0.6915 GB, free: 26.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/1.491, allocations: 0.7154 MB / 0.6922 GB, free: 25.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004649/1.491, allocations: 184.1 kB / 0.6924 GB, free: 25.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.491, allocations: 0.6253 MB / 0.693 GB, free: 24.54 MB / 474.7 MB Notification: Performance of SimCode: time 6.91e-07/1.491, allocations: 0 / 0.693 GB, free: 24.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/1.54, allocations: 44.21 MB / 0.7362 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/9.208, allocations: 23.89 kB / 0.7362 GB, free: 12.59 MB / 0.4948 GB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.871862513013184] Failed to read output from testmodel.py, exit status != 0: 9.559298642911017 9.568517804 8.098377561 Calling exit ...