Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.004529/0.004529, allocations: 97.64 kB / 15.73 MB, free: 6.055 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.001219/0.001219, allocations: 197.2 kB / 16.68 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 282.7 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9901/0.9901, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 91.94 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1817, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5368/0.7186, allocations: 193.8 MB / 0.9552 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008992/0.7276, allocations: 5.155 MB / 0.9602 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.7288, allocations: 47.69 kB / 0.9603 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.7307, allocations: 0.8042 MB / 0.9611 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005536/0.7362, allocations: 2.606 MB / 0.9636 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.7387, allocations: 1.117 MB / 0.9647 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.7416, allocations: 2.609 MB / 0.9673 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.7428, allocations: 0.8922 MB / 0.9681 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.7444, allocations: 1.09 MB / 0.9692 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.7456, allocations: 0.9456 MB / 0.9701 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.7457, allocations: 80 kB / 0.9702 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.7489, allocations: 1.781 MB / 0.9719 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.7494, allocations: 430.6 kB / 0.9723 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007046/0.7501, allocations: 0.6487 MB / 0.973 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.7533, allocations: 2.174 MB / 0.9751 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.7533, allocations: 0 / 0.9751 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7533, allocations: 3.938 kB / 0.9751 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.7533, allocations: 0 / 0.9751 GB, free: 12.82 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004824/0.7582, allocations: 1.975 MB / 0.977 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7582, allocations: 12.03 kB / 0.977 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.7584, allocations: 143.4 kB / 0.9772 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/0.7622, allocations: 0.6662 MB / 0.9778 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.7639, allocations: 0.9538 MB / 0.9788 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.764, allocations: 69.98 kB / 0.9788 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.7642, allocations: 91.98 kB / 0.9789 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.7674, allocations: 1.462 MB / 0.9803 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.7674, allocations: 11.94 kB / 0.9804 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7675, allocations: 39.94 kB / 0.9804 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.7676, allocations: 45.98 kB / 0.9804 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.7718, allocations: 1.522 MB / 0.9819 GB, free: 5.629 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.008123/0.78, allocations: 5.488 MB / 0.9873 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.784, allocations: 1.273 MB / 0.9885 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.7858, allocations: 0.663 MB / 0.9892 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/0.7867, allocations: 0.5773 MB / 0.9897 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002045/0.7887, allocations: 0.711 MB / 0.9904 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.406e-06/0.7888, allocations: 4 kB / 0.9904 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.006219/0.795, allocations: 1.886 MB / 0.9923 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.7951, allocations: 60.06 kB / 0.9923 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.7967, allocations: 1.235 MB / 0.9935 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/0.7969, allocations: 45.7 kB / 0.9936 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.7975, allocations: 0.5877 MB / 0.9942 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.7979, allocations: 289.6 kB / 0.9944 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.7982, allocations: 186.6 kB / 0.9946 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7984, allocations: 345.9 kB / 0.9949 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.8001, allocations: 0.5328 MB / 0.9955 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.8021, allocations: 0.8218 MB / 0.9963 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/0.8058, allocations: 1.324 MB / 0.9976 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.8059, allocations: 1.875 kB / 0.9976 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004296/0.8102, allocations: 1.507 MB / 0.999 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.8102, allocations: 12.81 kB / 0.999 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8102, allocations: 8 kB / 0.999 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.8103, allocations: 16 kB / 0.9991 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.8118, allocations: 291.5 kB / 0.9993 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-05/0.8118, allocations: 19.92 kB / 0.9994 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.8132, allocations: 203 kB / 0.9996 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.8133, allocations: 47.98 kB / 0.9996 GB, free: 2.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006549/0.814, allocations: 340.4 kB / 0.9999 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.8143, allocations: 147 kB / 1 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.8184, allocations: 1.413 MB / 1.001 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.8184, allocations: 8 kB / 1.001 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.8184, allocations: 0 / 1.001 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8184, allocations: 3.984 kB / 1.001 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/0.825, allocations: 2.792 MB / 1.004 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.825, allocations: 4 kB / 1.004 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.8263, allocations: 231.8 kB / 1.004 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.8263, allocations: 8 kB / 1.004 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.8264, allocations: 27.97 kB / 1.004 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.8264, allocations: 15.94 kB / 1.004 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.8264, allocations: 4 kB / 1.004 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005917/0.8323, allocations: 2.252 MB / 1.007 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/0.8329, allocations: 307.9 kB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.8332, allocations: 29.12 kB / 1.007 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.8343, allocations: 111.9 kB / 1.007 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.8345, allocations: 68.45 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.622e-05/0.8346, allocations: 35.97 kB / 1.007 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00121/0.8358, allocations: 0.8522 MB / 1.008 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8358, allocations: 0 / 1.008 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001051/0.8368, allocations: 319.7 kB / 1.008 GB, free: 9.711 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.007734/0.8446, allocations: 3.226 MB / 1.011 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003854/0.8485, allocations: 1.279 MB / 1.013 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.8485, allocations: 4.25 kB / 1.013 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.8504, allocations: 0.644 MB / 1.013 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.8533, allocations: 0.5968 MB / 1.014 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.8756, allocations: 10.99 MB / 1.025 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.8767, allocations: 1.178 MB / 1.026 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001328/0.878, allocations: 345.9 kB / 1.026 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008306/0.8789, allocations: 499.2 kB / 1.027 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of SimCode: time 7.32e-07/0.8789, allocations: 0 / 1.027 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06975/0.9486, allocations: 33.95 MB / 1.06 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.46, allocations: 17.16 kB / 1.06 GB, free: 5.164 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_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_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)