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.001613/0.001613, 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.001836/0.001836, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 287.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002784, allocations: 96.2 kB / 0.6065 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1702, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5038/0.674, allocations: 193.8 MB / 0.8829 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00919/0.6833, allocations: 5.154 MB / 0.8879 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.6844, allocations: 45.03 kB / 0.8879 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.6864, allocations: 0.8102 MB / 0.8887 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006273/0.6926, allocations: 2.6 MB / 0.8913 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.6953, allocations: 1.107 MB / 0.8924 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003349/0.6987, allocations: 2.61 MB / 0.8949 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.7, allocations: 0.8922 MB / 0.8958 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.7019, allocations: 1.078 MB / 0.8968 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.7035, allocations: 0.9417 MB / 0.8977 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.7038, allocations: 80 kB / 0.8978 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.7075, allocations: 1.781 MB / 0.8996 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00054/0.7081, allocations: 434.6 kB / 0.9 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009554/0.7091, allocations: 0.6409 MB / 0.9006 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.7131, allocations: 2.122 MB / 0.9027 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7131, allocations: 3.984 kB / 0.9027 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7131, allocations: 0 / 0.9027 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.7131, allocations: 0 / 0.9027 GB, free: 5.34 MB / 0.6231 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.004917/0.7181, allocations: 1.926 MB / 0.9046 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.7181, allocations: 16.02 kB / 0.9046 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.7183, allocations: 131.5 kB / 0.9047 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003949/0.7223, allocations: 0.6615 MB / 0.9053 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.7237, allocations: 0.8825 MB / 0.9062 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.7238, allocations: 62 kB / 0.9063 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.7239, allocations: 91.98 kB / 0.9064 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.7271, allocations: 1.478 MB / 0.9078 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.7271, allocations: 4 kB / 0.9078 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.7272, allocations: 35.94 kB / 0.9078 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.7273, allocations: 49.98 kB / 0.9079 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.7315, allocations: 1.514 MB / 0.9094 GB, free: 14.3 MB / 0.6387 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.007673/0.7392, allocations: 5.503 MB / 0.9147 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.743, allocations: 1.288 MB / 0.916 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.7448, allocations: 0.6556 MB / 0.9166 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009185/0.7457, allocations: 0.5851 MB / 0.9172 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/0.7476, allocations: 0.7078 MB / 0.9179 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 3.005e-06/0.7476, allocations: 0 / 0.9179 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005766/0.7534, allocations: 1.882 MB / 0.9197 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.7534, allocations: 60.06 kB / 0.9198 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.755, allocations: 1.239 MB / 0.921 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/0.7551, allocations: 53.62 kB / 0.9211 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/0.7556, allocations: 0.5753 MB / 0.9216 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.7559, allocations: 276.1 kB / 0.9219 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.7563, allocations: 182.5 kB / 0.9221 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7564, allocations: 337.9 kB / 0.9224 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.7581, allocations: 0.5405 MB / 0.9229 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.76, allocations: 0.8213 MB / 0.9237 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.7635, allocations: 1.328 MB / 0.925 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.7635, allocations: 4 kB / 0.925 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003963/0.7674, allocations: 1.491 MB / 0.9265 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7675, allocations: 8 kB / 0.9265 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.7675, allocations: 4 kB / 0.9265 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.7675, allocations: 12 kB / 0.9265 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.769, allocations: 306 kB / 0.9268 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.769, allocations: 12 kB / 0.9268 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.7703, allocations: 198.7 kB / 0.927 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.7704, allocations: 51.97 kB / 0.927 GB, free: 11.52 MB / 0.6544 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.0005179/0.7709, allocations: 343.6 kB / 0.9274 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.7711, allocations: 134.3 kB / 0.9275 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.7751, allocations: 1.408 MB / 0.9289 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.7751, allocations: 8 kB / 0.9289 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7751, allocations: 0 / 0.9289 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.7751, allocations: 7.984 kB / 0.9289 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/0.7811, allocations: 2.811 MB / 0.9316 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.7811, allocations: 6 kB / 0.9316 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.7823, allocations: 224.1 kB / 0.9318 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.7824, allocations: 8 kB / 0.9318 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.7824, allocations: 23.97 kB / 0.9319 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.7825, allocations: 8 kB / 0.9319 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7825, allocations: 7.938 kB / 0.9319 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/0.7883, allocations: 2.248 MB / 0.9341 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.7889, allocations: 299.2 kB / 0.9344 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.7891, allocations: 24.08 kB / 0.9344 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7902, allocations: 111.8 kB / 0.9345 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.7903, allocations: 68.36 kB / 0.9346 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/0.7904, allocations: 31.98 kB / 0.9346 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001186/0.7916, allocations: 0.8522 MB / 0.9354 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7916, allocations: 0 / 0.9354 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001006/0.7926, allocations: 323.6 kB / 0.9357 GB, free: 2.391 MB / 0.6544 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.007804/0.8005, allocations: 3.224 MB / 0.9389 GB, free: 15.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004236/0.8047, allocations: 1.411 MB / 0.9403 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8047, allocations: 0 / 0.9403 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.8066, allocations: 0.6365 MB / 0.9409 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.8094, allocations: 0.6051 MB / 0.9415 GB, free: 12.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/0.8317, allocations: 11.75 MB / 0.9529 GB, free: 248 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008546/0.8326, allocations: 1.176 MB / 0.9541 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001416/0.8341, allocations: 349.9 kB / 0.9544 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/0.8348, allocations: 0.4953 MB / 0.9549 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.8348, allocations: 0 / 0.9549 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07146/0.9063, allocations: 33.58 MB / 0.9877 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/9.367, allocations: 6.75 kB / 0.9877 GB, free: 13.1 MB / 0.7169 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)