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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004815/0.004815, allocations: 100.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 202.4 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1175/0.1175, allocations: 2.755 MB / 293.3 MB, free: 3.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.88 kB / 405.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2254, allocations: 50.24 MB / 455.7 MB, free: 20.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.0746/0.3, allocations: 82.93 MB / 0.526 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03834/0.3384, allocations: 40.73 MB / 0.5658 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.3398, allocations: 4 kB / 0.5658 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.3431, allocations: 1.235 MB / 0.567 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02042/0.3635, allocations: 6.969 MB / 0.5738 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3646, allocations: 266.2 kB / 0.574 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.3667, allocations: 1.354 MB / 0.5754 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.3669, allocations: 107 kB / 0.5755 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.3674, allocations: 413.9 kB / 0.5759 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006353/0.368, allocations: 0.4935 MB / 0.5763 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.3681, allocations: 36 kB / 0.5764 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586/1.954, allocations: 167 MB / 0.7395 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/1.954, allocations: 154.5 kB / 0.7396 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/1.955, allocations: 0.5952 MB / 0.7402 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01362/1.969, allocations: 2.784 MB / 0.7429 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.969, allocations: 4 kB / 0.7429 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/1.969, allocations: 0 / 0.7429 GB, free: 10.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.754e-05/1.969, allocations: 0 / 0.7429 GB, free: 10.2 MB / 0.545 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.002728/1.972, allocations: 1.622 MB / 0.7445 GB, free: 8.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.972, allocations: 12.02 kB / 0.7445 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/1.972, allocations: 201.2 kB / 0.7447 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/1.977, allocations: 1.215 MB / 0.7459 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/1.977, allocations: 286.5 kB / 0.7461 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/1.977, allocations: 70.44 kB / 0.7462 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/1.978, allocations: 103.9 kB / 0.7463 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/1.98, allocations: 1.7 MB / 0.748 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/1.98, allocations: 0 / 0.748 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/1.98, allocations: 43.23 kB / 0.748 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.597e-05/1.98, allocations: 70.88 kB / 0.7481 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/1.982, allocations: 1.599 MB / 0.7496 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007171/1.989, allocations: 8.589 MB / 0.758 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008708/1.99, allocations: 0.762 MB / 0.7588 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00071/1.991, allocations: 0.7415 MB / 0.7595 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/1.994, allocations: 2.364 MB / 0.7618 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.994, allocations: 34.56 kB / 0.7618 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=182): time 2.465e-06/1.994, allocations: 0 / 0.7618 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=182): time 0.002931/1.997, allocations: 1.516 MB / 0.7633 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/1.997, allocations: 77.11 kB / 0.7634 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/1.997, allocations: 133.5 kB / 0.7635 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/1.997, allocations: 29.45 kB / 0.7636 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/1.997, allocations: 407.9 kB / 0.7639 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/1.998, allocations: 0.5943 MB / 0.7645 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/1.998, allocations: 135.9 kB / 0.7647 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.998, allocations: 310 kB / 0.7649 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/1.998, allocations: 345.1 kB / 0.7653 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/1.999, allocations: 497.4 kB / 0.7658 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/2, allocations: 1.014 MB / 0.7667 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/2, allocations: 4 kB / 0.7667 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001673/2.002, allocations: 1.061 MB / 0.7678 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/2.002, allocations: 8 kB / 0.7678 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/2.002, allocations: 0 / 0.7678 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/2.002, allocations: 8 kB / 0.7678 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/2.002, allocations: 35.27 kB / 0.7678 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/2.002, allocations: 4.406 kB / 0.7678 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/2.003, allocations: 99.12 kB / 0.7679 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/2.003, allocations: 20.23 kB / 0.7679 GB, free: 4.789 MB / 0.5606 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.0003824/2.003, allocations: 222.2 kB / 0.7682 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/2.003, allocations: 51.56 kB / 0.7682 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/2.003, allocations: 35.89 kB / 0.7682 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/2.003, allocations: 7.984 kB / 0.7683 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.003, allocations: 0 / 0.7683 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/2.003, allocations: 0 / 0.7683 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/2.005, allocations: 1.055 MB / 0.7693 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/2.005, allocations: 0 / 0.7693 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/2.005, allocations: 12 kB / 0.7693 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/2.005, allocations: 3.938 kB / 0.7693 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/2.005, allocations: 12 kB / 0.7693 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/2.005, allocations: 0 / 0.7693 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.005, allocations: 0 / 0.7693 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/2.006, allocations: 1.199 MB / 0.7705 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/2.006, allocations: 160.3 kB / 0.7706 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/2.006, allocations: 4 kB / 0.7706 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/2.007, allocations: 4 kB / 0.7706 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/2.007, allocations: 19.98 kB / 0.7707 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/2.007, allocations: 12 kB / 0.7707 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.809e-05/2.007, allocations: 95.27 kB / 0.7708 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/2.007, allocations: 0 / 0.7708 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001009/2.008, allocations: 386.9 kB / 0.7711 GB, free: 1.445 MB / 0.5606 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.002604/2.01, allocations: 2.164 MB / 0.7732 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001962/2.012, allocations: 1.742 MB / 0.7749 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.012, allocations: 3.938 kB / 0.7749 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/2.014, allocations: 1.824 MB / 0.7767 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/2.016, allocations: 475.8 kB / 0.7772 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/2.021, allocations: 2.38 MB / 0.7795 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/2.022, allocations: 1.3 MB / 0.7808 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006339/2.022, allocations: 175.5 kB / 0.7809 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007206/2.023, allocations: 0.6243 MB / 0.7816 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/2.023, allocations: 0 / 0.7816 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2653/2.288, allocations: 41.71 MB / 0.8223 GB, free: 255.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/13.24, allocations: 13.89 kB / 0.8223 GB, free: 255.6 MB / 0.5919 GB (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 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1)