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.001894/0.001894, 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.002381/0.002381, allocations: 196.7 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.913/1.913, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 286.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.912/1.912, allocations: 169.3 MB / 0.4982 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003654/0.003655, allocations: 96.31 kB / 0.5953 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2648, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.041/1.306, allocations: 193.8 MB / 0.8695 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01469/1.321, allocations: 5.153 MB / 0.8746 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/1.324, allocations: 47.28 kB / 0.8746 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00348/1.327, allocations: 0.8032 MB / 0.8754 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/1.34, allocations: 2.605 MB / 0.8779 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005289/1.345, allocations: 1.102 MB / 0.879 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006942/1.352, allocations: 2.676 MB / 0.8816 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/1.356, allocations: 0.947 MB / 0.8826 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004765/1.361, allocations: 1.099 MB / 0.8836 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/1.364, allocations: 0.9933 MB / 0.8846 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009608/1.365, allocations: 87.34 kB / 0.8847 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008023/1.374, allocations: 1.781 MB / 0.8864 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/1.375, allocations: 454.8 kB / 0.8869 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002585/1.378, allocations: 0.6663 MB / 0.8875 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00977/1.388, allocations: 2.19 MB / 0.8897 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.388, allocations: 3.938 kB / 0.8897 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/1.388, allocations: 0 / 0.8897 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.057e-05/1.388, allocations: 7.938 kB / 0.8897 GB, free: 15.38 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01144/1.399, allocations: 1.952 MB / 0.8916 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/1.399, allocations: 13.59 kB / 0.8916 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003414/1.4, allocations: 141.9 kB / 0.8917 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/1.411, allocations: 0.8932 MB / 0.8926 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/1.414, allocations: 0.9058 MB / 0.8935 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.415, allocations: 71.47 kB / 0.8935 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/1.415, allocations: 92.48 kB / 0.8936 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007173/1.422, allocations: 1.579 MB / 0.8952 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/1.422, allocations: 0 / 0.8952 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/1.422, allocations: 35.98 kB / 0.8952 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/1.423, allocations: 49.98 kB / 0.8953 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.433, allocations: 1.85 MB / 0.8971 GB, free: 9.23 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.01581/1.449, allocations: 4.758 MB / 0.9017 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008916/1.458, allocations: 1.565 MB / 0.9032 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/1.462, allocations: 0.8507 MB / 0.9041 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/1.465, allocations: 0.9452 MB / 0.905 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005047/1.47, allocations: 0.9067 MB / 0.9059 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 7.645e-06/1.47, allocations: 4 kB / 0.9059 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.01576/1.485, allocations: 2.45 MB / 0.9083 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/1.486, allocations: 64.41 kB / 0.9083 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/1.489, allocations: 1.193 MB / 0.9095 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003173/1.489, allocations: 49.69 kB / 0.9095 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008721/1.49, allocations: 0.5409 MB / 0.9101 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006764/1.491, allocations: 327.3 kB / 0.9104 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000822/1.492, allocations: 194.5 kB / 0.9106 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.492, allocations: 341.9 kB / 0.9109 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004161/1.496, allocations: 0.6927 MB / 0.9116 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/1.501, allocations: 0.9159 MB / 0.9125 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00859/1.509, allocations: 1.546 MB / 0.914 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/1.509, allocations: 8.5 kB / 0.914 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01002/1.52, allocations: 1.776 MB / 0.9157 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.52, allocations: 4 kB / 0.9157 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.52, allocations: 8.438 kB / 0.9157 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.883e-05/1.52, allocations: 12 kB / 0.9157 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/1.523, allocations: 347.4 kB / 0.9161 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.141e-05/1.523, allocations: 13.5 kB / 0.9161 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/1.526, allocations: 230.7 kB / 0.9163 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/1.527, allocations: 47.98 kB / 0.9164 GB, free: 4.844 MB / 0.6231 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.001509/1.528, allocations: 332.4 kB / 0.9167 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009061/1.529, allocations: 134.4 kB / 0.9168 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008465/1.538, allocations: 1.813 MB / 0.9186 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/1.538, allocations: 8 kB / 0.9186 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/1.538, allocations: 2.438 kB / 0.9186 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/1.538, allocations: 3.984 kB / 0.9186 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.55, allocations: 3.355 MB / 0.9219 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/1.551, allocations: 4.5 kB / 0.9219 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/1.553, allocations: 287.5 kB / 0.9221 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.213e-05/1.553, allocations: 8 kB / 0.9221 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.553, allocations: 31.97 kB / 0.9222 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.553, allocations: 8 kB / 0.9222 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.553, allocations: 7.938 kB / 0.9222 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.565, allocations: 2.851 MB / 0.925 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.566, allocations: 319.2 kB / 0.9253 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006814/1.567, allocations: 23.98 kB / 0.9253 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/1.57, allocations: 155.8 kB / 0.9255 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/1.57, allocations: 72.45 kB / 0.9255 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.57, allocations: 43.97 kB / 0.9256 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002434/1.573, allocations: 0.8314 MB / 0.9264 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/1.573, allocations: 3.938 kB / 0.9264 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002492/1.575, allocations: 339.6 kB / 0.9267 GB, free: 10.03 MB / 0.6387 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.01562/1.591, allocations: 3.829 MB / 0.9304 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.601, allocations: 1.783 MB / 0.9322 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/1.601, allocations: 0 / 0.9322 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005336/1.607, allocations: 0.836 MB / 0.933 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006929/1.614, allocations: 0.6211 MB / 0.9336 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05548/1.669, allocations: 12.87 MB / 0.9462 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.671, allocations: 1.187 MB / 0.9473 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003573/1.675, allocations: 358 kB / 0.9477 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.676, allocations: 0.5031 MB / 0.9482 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.542e-06/1.676, allocations: 0 / 0.9482 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.791, allocations: 35.32 MB / 0.9827 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/14, allocations: 18.27 kB / 0.9827 GB, free: 0.6992 MB / 0.6856 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)