Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",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.005272/0.005272, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001192/0.001192, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.297/1.297, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 282.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9393/0.9393, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 96.23 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1647, allocations: 86.98 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.61/0.7748, allocations: 193.8 MB / 0.9552 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.7855, allocations: 5.146 MB / 0.9602 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.7871, allocations: 47.69 kB / 0.9603 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.7895, allocations: 0.8315 MB / 0.9611 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.7959, allocations: 2.692 MB / 0.9637 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.7985, allocations: 1.109 MB / 0.9648 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.8019, allocations: 2.687 MB / 0.9674 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.8034, allocations: 0.9406 MB / 0.9683 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.8055, allocations: 1.152 MB / 0.9695 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.807, allocations: 0.9923 MB / 0.9704 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.8073, allocations: 88 kB / 0.9705 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.8105, allocations: 1.797 MB / 0.9723 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.8111, allocations: 454.5 kB / 0.9727 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.8121, allocations: 0.671 MB / 0.9734 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.8158, allocations: 2.228 MB / 0.9755 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8159, allocations: 4 kB / 0.9755 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8159, allocations: 0 / 0.9755 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.442e-05/0.8159, allocations: 4 kB / 0.9755 GB, free: 12.21 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005482/0.8214, allocations: 2.01 MB / 0.9775 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8215, allocations: 8.031 kB / 0.9775 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.8217, allocations: 139.6 kB / 0.9776 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005476/0.8271, allocations: 0.9002 MB / 0.9785 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.829, allocations: 0.9811 MB / 0.9795 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.8291, allocations: 73.98 kB / 0.9796 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.8293, allocations: 95.94 kB / 0.9796 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.8329, allocations: 1.583 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.8329, allocations: 0 / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.833, allocations: 39.98 kB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.8331, allocations: 49.98 kB / 0.9813 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.8382, allocations: 1.85 MB / 0.9831 GB, free: 4.332 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007671/0.8459, allocations: 4.731 MB / 0.9877 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.8503, allocations: 1.573 MB / 0.9892 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.8526, allocations: 0.8468 MB / 0.9901 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.8539, allocations: 0.953 MB / 0.991 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002477/0.8564, allocations: 0.9027 MB / 0.9919 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.8564, allocations: 0 / 0.9919 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007796/0.8642, allocations: 2.467 MB / 0.9943 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.8643, allocations: 60.41 kB / 0.9943 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.8659, allocations: 1.197 MB / 0.9955 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.866, allocations: 49.7 kB / 0.9956 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.8665, allocations: 0.5531 MB / 0.9961 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.8668, allocations: 337.1 kB / 0.9964 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.8672, allocations: 194.6 kB / 0.9966 GB, free: 6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8673, allocations: 337.9 kB / 0.9969 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.8695, allocations: 0.7006 MB / 0.9976 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.8719, allocations: 0.9172 MB / 0.9985 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.8763, allocations: 1.546 MB / 1 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.8763, allocations: 7.938 kB / 1 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005103/0.8814, allocations: 1.785 MB / 1.002 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8814, allocations: 4 kB / 1.002 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.8815, allocations: 8 kB / 1.002 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.8815, allocations: 8 kB / 1.002 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.8833, allocations: 343.5 kB / 1.002 GB, free: 228 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/0.8833, allocations: 15.98 kB / 1.002 GB, free: 212 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.8849, allocations: 235.2 kB / 1.002 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.8851, allocations: 47.97 kB / 1.002 GB, free: 15.93 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * 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.0005654/0.8856, allocations: 336.1 kB / 1.003 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.8859, allocations: 143.1 kB / 1.003 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/0.8911, allocations: 1.817 MB / 1.005 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.8911, allocations: 8 kB / 1.005 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.8911, allocations: 0 / 1.005 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.8911, allocations: 3.984 kB / 1.005 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/0.8985, allocations: 3.317 MB / 1.008 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.8986, allocations: 4 kB / 1.008 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.9002, allocations: 291.9 kB / 1.008 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.9003, allocations: 8 kB / 1.008 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/0.9004, allocations: 35.97 kB / 1.008 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.9004, allocations: 4 kB / 1.008 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.9004, allocations: 11.94 kB / 1.008 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007402/0.9078, allocations: 2.852 MB / 1.011 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/0.9086, allocations: 331.8 kB / 1.011 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.9089, allocations: 31.98 kB / 1.011 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.9104, allocations: 151.8 kB / 1.012 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.9106, allocations: 68.45 kB / 1.012 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.9107, allocations: 45.72 kB / 1.012 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001152/0.9118, allocations: 0.8353 MB / 1.012 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9118, allocations: 4 kB / 1.012 GB, free: 5.449 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001183/0.913, allocations: 339.7 kB / 1.013 GB, free: 5.117 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.008974/0.922, allocations: 3.833 MB / 1.016 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004952/0.927, allocations: 1.642 MB / 1.018 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.927, allocations: 4 kB / 1.018 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.9295, allocations: 0.836 MB / 1.019 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.9328, allocations: 0.6163 MB / 1.02 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.9574, allocations: 12.08 MB / 1.031 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/0.9584, allocations: 1.179 MB / 1.032 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001529/0.9599, allocations: 366 kB / 1.033 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.9609, allocations: 0.5032 MB / 1.033 GB, free: 15.8 MB / 0.795 GB Notification: Performance of SimCode: time 1.042e-06/0.9609, allocations: 0 / 1.033 GB, free: 15.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06712/1.028, allocations: 35.7 MB / 1.068 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/11.06, allocations: 24.59 kB / 1.068 GB, free: 12.55 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)