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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00774/0.00774, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001404/0.001404, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1332/0.1332, allocations: 2.754 MB / 293.3 MB, free: 3.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 75.86 kB / 405.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2419, allocations: 50.23 MB / 455.7 MB, free: 20.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.07154/0.3134, allocations: 82.93 MB / 0.526 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03297/0.3465, allocations: 40.73 MB / 0.5658 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.3477, allocations: 4 kB / 0.5658 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.3507, allocations: 1.239 MB / 0.567 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02099/0.3717, allocations: 6.958 MB / 0.5738 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.3727, allocations: 278 kB / 0.574 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.3746, allocations: 1.35 MB / 0.5754 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3747, allocations: 107 kB / 0.5755 GB, free: 15.13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.3751, allocations: 413.9 kB / 0.5758 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.3757, allocations: 0.4935 MB / 0.5763 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.3757, allocations: 40 kB / 0.5764 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.543/1.919, allocations: 169.1 MB / 0.7415 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/1.919, allocations: 145.6 kB / 0.7416 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002105/1.921, allocations: 0.5977 MB / 0.7422 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01824/1.939, allocations: 2.783 MB / 0.7449 GB, free: 8.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/1.939, allocations: 7.094 kB / 0.7449 GB, free: 8.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.714e-06/1.939, allocations: 0 / 0.7449 GB, free: 8.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.082e-05/1.94, allocations: 0 / 0.7449 GB, free: 8.523 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.002475/1.942, allocations: 1.582 MB / 0.7465 GB, free: 7.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.942, allocations: 8.031 kB / 0.7465 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/1.942, allocations: 206.2 kB / 0.7467 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/1.947, allocations: 1.208 MB / 0.7479 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/1.947, allocations: 281.8 kB / 0.7481 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/1.947, allocations: 73.69 kB / 0.7482 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005122/1.948, allocations: 96.62 kB / 0.7483 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/1.95, allocations: 1.702 MB / 0.75 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/1.95, allocations: 6.625 kB / 0.75 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/1.95, allocations: 38.06 kB / 0.75 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/1.95, allocations: 69 kB / 0.7501 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/1.952, allocations: 1.607 MB / 0.7516 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/1.958, allocations: 8.568 MB / 0.76 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/1.959, allocations: 0.7663 MB / 0.7608 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/1.96, allocations: 0.7376 MB / 0.7615 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/1.962, allocations: 2.346 MB / 0.7638 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/1.962, allocations: 45.53 kB / 0.7638 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=182): time 2.254e-06/1.962, allocations: 0 / 0.7638 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=182): time 0.009844/1.972, allocations: 1.508 MB / 0.7653 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/1.972, allocations: 81.11 kB / 0.7654 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.972, allocations: 133.2 kB / 0.7655 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/1.972, allocations: 29.45 kB / 0.7655 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/1.972, allocations: 394 kB / 0.7659 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/1.973, allocations: 0.5629 MB / 0.7664 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/1.973, allocations: 143.5 kB / 0.7666 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/1.973, allocations: 310 kB / 0.7669 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/1.973, allocations: 337.7 kB / 0.7672 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000552/1.974, allocations: 0.493 MB / 0.7677 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.975, allocations: 1.016 MB / 0.7687 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.975, allocations: 0 / 0.7687 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001385/1.976, allocations: 1.049 MB / 0.7697 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.976, allocations: 8 kB / 0.7697 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.976, allocations: 4 kB / 0.7697 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/1.976, allocations: 4 kB / 0.7697 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/1.977, allocations: 39.25 kB / 0.7698 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.977, allocations: 4.406 kB / 0.7698 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/1.977, allocations: 90.75 kB / 0.7698 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.977, allocations: 16 kB / 0.7699 GB, free: 3.16 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.0003904/1.977, allocations: 232 kB / 0.7701 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.977, allocations: 51.19 kB / 0.7701 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/1.978, allocations: 39.88 kB / 0.7702 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.978, allocations: 0 / 0.7702 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.978, allocations: 4 kB / 0.7702 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.978, allocations: 3.984 kB / 0.7702 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/1.979, allocations: 1.042 MB / 0.7712 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.979, allocations: 0 / 0.7712 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/1.979, allocations: 12.06 kB / 0.7712 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.979, allocations: 4 kB / 0.7712 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/1.979, allocations: 8 kB / 0.7712 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.979, allocations: 3.984 kB / 0.7712 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.979, allocations: 4 kB / 0.7712 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.98, allocations: 1.195 MB / 0.7724 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.98, allocations: 148 kB / 0.7725 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/1.98, allocations: 8 kB / 0.7725 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/1.981, allocations: 0 / 0.7725 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/1.981, allocations: 19.98 kB / 0.7726 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/1.981, allocations: 16 kB / 0.7726 GB, free: 304 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.263e-05/1.981, allocations: 95.7 kB / 0.7727 GB, free: 208 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.981, allocations: 0 / 0.7727 GB, free: 208 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001015/1.982, allocations: 382.7 kB / 0.773 GB, free: 15.82 MB / 0.5762 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.002359/1.984, allocations: 2.18 MB / 0.7752 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.986, allocations: 1.746 MB / 0.7769 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.986, allocations: 0 / 0.7769 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/1.988, allocations: 1.821 MB / 0.7786 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/1.99, allocations: 461.6 kB / 0.7791 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/1.994, allocations: 2.341 MB / 0.7814 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.996, allocations: 1.293 MB / 0.7826 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007628/1.997, allocations: 179.4 kB / 0.7828 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.997, allocations: 0.6243 MB / 0.7834 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.997, allocations: 0 / 0.7834 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2802/2.278, allocations: 41.92 MB / 0.8243 GB, free: 255.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/13.02, allocations: 8.125 kB / 0.8244 GB, free: 255.3 MB / 0.5919 GB (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 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)