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.001654/0.001654, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 193.3 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.065/2.065, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002551/0.002551, allocations: 286.4 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.513/1.513, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003665/0.003665, allocations: 98.36 kB / 0.5953 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3554, allocations: 86.97 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.9184/1.274, allocations: 193.8 MB / 0.8696 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01637/1.29, allocations: 5.147 MB / 0.8746 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/1.294, allocations: 44.81 kB / 0.8746 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003728/1.297, allocations: 0.8096 MB / 0.8754 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01173/1.309, allocations: 2.598 MB / 0.8779 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004842/1.314, allocations: 1.105 MB / 0.879 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00542/1.319, allocations: 2.608 MB / 0.8816 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/1.322, allocations: 0.8959 MB / 0.8824 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/1.326, allocations: 1.071 MB / 0.8835 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.328, allocations: 0.9516 MB / 0.8844 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005109/1.329, allocations: 78 kB / 0.8845 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006356/1.335, allocations: 1.777 MB / 0.8862 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.336, allocations: 434.9 kB / 0.8866 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002263/1.339, allocations: 0.6458 MB / 0.8873 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007759/1.346, allocations: 2.135 MB / 0.8894 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/1.346, allocations: 3.938 kB / 0.8894 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/1.346, allocations: 0 / 0.8894 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001007/1.347, allocations: 0 / 0.8894 GB, free: 15.5 MB / 0.6075 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.01055/1.357, allocations: 1.938 MB / 0.8913 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/1.357, allocations: 10.56 kB / 0.8913 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004944/1.358, allocations: 137.7 kB / 0.8914 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006898/1.365, allocations: 0.6607 MB / 0.892 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/1.368, allocations: 0.8821 MB / 0.8929 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.368, allocations: 67.67 kB / 0.893 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/1.368, allocations: 89.98 kB / 0.8931 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/1.374, allocations: 1.471 MB / 0.8945 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/1.374, allocations: 0 / 0.8945 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/1.375, allocations: 43.92 kB / 0.8945 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/1.375, allocations: 53.97 kB / 0.8946 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/1.381, allocations: 1.51 MB / 0.8961 GB, free: 10.12 MB / 0.6075 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.01172/1.393, allocations: 5.507 MB / 0.9014 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/1.398, allocations: 1.273 MB / 0.9027 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/1.401, allocations: 0.6591 MB / 0.9033 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.402, allocations: 0.5773 MB / 0.9039 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002791/1.405, allocations: 0.7146 MB / 0.9046 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 6.141e-06/1.405, allocations: 0 / 0.9046 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.008707/1.413, allocations: 1.874 MB / 0.9064 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/1.413, allocations: 60.06 kB / 0.9065 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/1.416, allocations: 1.242 MB / 0.9077 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/1.417, allocations: 45.7 kB / 0.9077 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006977/1.417, allocations: 0.5714 MB / 0.9083 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/1.418, allocations: 280.1 kB / 0.9086 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004976/1.418, allocations: 190.5 kB / 0.9087 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.418, allocations: 337.9 kB / 0.9091 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/1.421, allocations: 0.5367 MB / 0.9096 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/1.424, allocations: 0.8219 MB / 0.9104 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005349/1.429, allocations: 1.321 MB / 0.9117 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.429, allocations: 0 / 0.9117 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006581/1.436, allocations: 1.499 MB / 0.9131 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/1.436, allocations: 8.125 kB / 0.9132 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.436, allocations: 12 kB / 0.9132 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.142e-05/1.436, allocations: 12 kB / 0.9132 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/1.438, allocations: 293 kB / 0.9135 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-05/1.438, allocations: 19.92 kB / 0.9135 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.441, allocations: 198.8 kB / 0.9137 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/1.441, allocations: 48.08 kB / 0.9137 GB, free: 7.359 MB / 0.6231 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.001006/1.442, allocations: 340.8 kB / 0.914 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005517/1.443, allocations: 138.2 kB / 0.9142 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/1.449, allocations: 1.417 MB / 0.9155 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/1.449, allocations: 9.562 kB / 0.9156 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.449, allocations: 0 / 0.9156 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.449, allocations: 7.922 kB / 0.9156 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.459, allocations: 2.807 MB / 0.9183 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/1.459, allocations: 7.984 kB / 0.9183 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.461, allocations: 220 kB / 0.9185 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-05/1.461, allocations: 12 kB / 0.9185 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/1.462, allocations: 31.97 kB / 0.9186 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-05/1.462, allocations: 11.94 kB / 0.9186 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.462, allocations: 4 kB / 0.9186 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008765/1.47, allocations: 2.24 MB / 0.9208 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/1.471, allocations: 299.2 kB / 0.9211 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004647/1.472, allocations: 22.19 kB / 0.9211 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.474, allocations: 107.9 kB / 0.9212 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.474, allocations: 68.38 kB / 0.9212 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.474, allocations: 35.97 kB / 0.9213 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001964/1.476, allocations: 0.8561 MB / 0.9221 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.476, allocations: 0 / 0.9221 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002118/1.478, allocations: 311.7 kB / 0.9224 GB, free: 14.25 MB / 0.6387 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.01144/1.49, allocations: 3.235 MB / 0.9256 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006629/1.497, allocations: 1.411 MB / 0.9269 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/1.497, allocations: 0 / 0.9269 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/1.5, allocations: 0.6365 MB / 0.9276 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.505, allocations: 0.5921 MB / 0.9281 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03633/1.542, allocations: 11.76 MB / 0.9396 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/1.543, allocations: 1.171 MB / 0.9408 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002852/1.546, allocations: 361.8 kB / 0.9411 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.548, allocations: 0.4914 MB / 0.9416 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of SimCode: time 1.302e-06/1.548, allocations: 0 / 0.9416 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.65, allocations: 33.56 MB / 0.9744 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/14.26, allocations: 21.12 kB / 0.9744 GB, free: 8.953 MB / 0.6856 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)