Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.006861/0.006861, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001824/0.001824, allocations: 197 kB / 16.67 MB, free: 5.973 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9738/0.9738, allocations: 143 MB / 433.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.03 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3567, allocations: 82.04 MB / 0.6752 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005341/0.3621, allocations: 4.43 MB / 0.6795 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.3648, allocations: 2.69 MB / 0.6822 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.3649, allocations: 3.938 kB / 0.6822 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3652, allocations: 55.67 kB / 0.6822 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.3655, allocations: 92.33 kB / 0.6823 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3666, allocations: 0.4952 MB / 0.6828 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.3668, allocations: 241.8 kB / 0.683 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.3669, allocations: 13.25 kB / 0.683 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008974/0.3678, allocations: 413 kB / 0.6834 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3679, allocations: 92.56 kB / 0.6835 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3679, allocations: 7.156 kB / 0.6835 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.3689, allocations: 497.4 kB / 0.684 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.3689, allocations: 34.47 kB / 0.684 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.369, allocations: 86.47 kB / 0.6841 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.3696, allocations: 358.5 kB / 0.6845 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3696, allocations: 0 / 0.6845 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3696, allocations: 0 / 0.6845 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3696, allocations: 0 / 0.6845 GB, free: 10.12 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006908/0.3703, allocations: 0.5008 MB / 0.6849 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3704, allocations: 9.625 kB / 0.685 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.3704, allocations: 52.23 kB / 0.685 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.3706, allocations: 25.22 kB / 0.685 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.3708, allocations: 209.9 kB / 0.6852 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3709, allocations: 14.14 kB / 0.6852 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.3709, allocations: 23.36 kB / 0.6853 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3712, allocations: 240.2 kB / 0.6855 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3713, allocations: 9.312 kB / 0.6855 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3713, allocations: 10.69 kB / 0.6855 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.3713, allocations: 9.5 kB / 0.6855 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.3718, allocations: 432.7 kB / 0.6859 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.3728, allocations: 1.02 MB / 0.6869 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.3731, allocations: 160 kB / 0.6871 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/0.3732, allocations: 59.3 kB / 0.6871 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.3744, allocations: 1.827 MB / 0.6889 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3745, allocations: 40.69 kB / 0.689 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/0.3745, allocations: 0 / 0.689 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003348/0.3748, allocations: 150.5 kB / 0.6891 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3749, allocations: 57.78 kB / 0.6892 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.375, allocations: 171.1 kB / 0.6893 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3751, allocations: 34.8 kB / 0.6894 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.3751, allocations: 139.7 kB / 0.6895 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.3752, allocations: 58.98 kB / 0.6895 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.3753, allocations: 52.66 kB / 0.6896 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3754, allocations: 326.4 kB / 0.6899 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.3755, allocations: 41.75 kB / 0.6899 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3756, allocations: 133.7 kB / 0.6901 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.3758, allocations: 200.4 kB / 0.6903 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3758, allocations: 1.625 kB / 0.6903 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003237/0.3762, allocations: 219.1 kB / 0.6905 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3762, allocations: 8.438 kB / 0.6905 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3762, allocations: 3.75 kB / 0.6905 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3762, allocations: 9.156 kB / 0.6905 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3764, allocations: 52.67 kB / 0.6905 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3764, allocations: 12.73 kB / 0.6906 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3765, allocations: 25.53 kB / 0.6906 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3766, allocations: 18.78 kB / 0.6906 GB, free: 4.277 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001084/0.3767, allocations: 134.1 kB / 0.6907 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.3767, allocations: 16.5 kB / 0.6907 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.377, allocations: 151.3 kB / 0.6909 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3771, allocations: 9.328 kB / 0.6909 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3771, allocations: 1.594 kB / 0.6909 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3771, allocations: 0 / 0.6909 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.3773, allocations: 217.9 kB / 0.6911 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3773, allocations: 3.938 kB / 0.6911 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.3774, allocations: 30.39 kB / 0.6911 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3774, allocations: 1.125 kB / 0.6911 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3775, allocations: 6.969 kB / 0.6911 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3775, allocations: 3.938 kB / 0.6911 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3775, allocations: 0 / 0.6911 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3778, allocations: 216.7 kB / 0.6914 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3779, allocations: 109.4 kB / 0.6915 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.3779, allocations: 1.375 kB / 0.6915 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.3781, allocations: 32.61 kB / 0.6915 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.3782, allocations: 12.11 kB / 0.6915 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.3782, allocations: 13.83 kB / 0.6915 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001026/0.3783, allocations: 123.5 kB / 0.6916 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3783, allocations: 1.406 kB / 0.6916 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004288/0.3788, allocations: 73 kB / 0.6917 GB, free: 3.336 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0008348/0.3796, allocations: 0.8341 MB / 0.6925 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3799, allocations: 119.6 kB / 0.6926 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3799, allocations: 1.156 kB / 0.6926 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.38, allocations: 48.39 kB / 0.6927 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.3805, allocations: 52.2 kB / 0.6927 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.3829, allocations: 2.04 MB / 0.6947 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3832, allocations: 0.7155 MB / 0.6954 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.3834, allocations: 53.52 kB / 0.6955 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.3834, allocations: 45.92 kB / 0.6955 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.3834, allocations: 3.938 kB / 0.6955 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.4062, allocations: 5.289 MB / 0.7007 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.678, allocations: 12.61 kB / 0.7007 GB, free: 11.54 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)