Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001232/0.001232, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00132/0.00132, allocations: 190.5 kB / 16.25 MB, free: 6.617 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002036, allocations: 282.8 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9137/0.9137, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 93.02 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1781, allocations: 86.98 MB / 0.6797 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6474/0.8256, allocations: 191.3 MB / 0.8665 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009057/0.8347, allocations: 5.119 MB / 0.8715 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.8364, allocations: 44.12 kB / 0.8716 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.8384, allocations: 0.7241 MB / 0.8723 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.8451, allocations: 2.452 MB / 0.8747 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.8479, allocations: 1.016 MB / 0.8757 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.8515, allocations: 2.611 MB / 0.8782 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.8528, allocations: 0.9011 MB / 0.8791 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.8547, allocations: 1.099 MB / 0.8802 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.8559, allocations: 1.024 MB / 0.8812 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.8561, allocations: 80.59 kB / 0.8813 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.8595, allocations: 1.854 MB / 0.8831 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.8599, allocations: 445.5 kB / 0.8835 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.8606, allocations: 0.6554 MB / 0.8841 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.8637, allocations: 2.272 MB / 0.8864 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8638, allocations: 4 kB / 0.8864 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8638, allocations: 0 / 0.8864 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.8638, allocations: 0 / 0.8864 GB, free: 2.102 MB / 0.5919 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.004699/0.8685, allocations: 1.935 MB / 0.8882 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8686, allocations: 10.22 kB / 0.8883 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.8687, allocations: 142 kB / 0.8884 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.873, allocations: 0.7025 MB / 0.8891 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.8746, allocations: 0.8924 MB / 0.8899 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.8747, allocations: 71.31 kB / 0.89 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.8748, allocations: 93.94 kB / 0.8901 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.8779, allocations: 1.461 MB / 0.8915 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.878, allocations: 3.938 kB / 0.8915 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.8781, allocations: 34.31 kB / 0.8916 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/0.8782, allocations: 47.45 kB / 0.8916 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.8821, allocations: 1.562 MB / 0.8931 GB, free: 13.04 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.006704/0.8889, allocations: 5.019 MB / 0.898 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.8921, allocations: 1.192 MB / 0.8992 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.8937, allocations: 0.6707 MB / 0.8999 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.8949, allocations: 0.9332 MB / 0.9008 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.8967, allocations: 0.7303 MB / 0.9015 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.045e-06/0.8967, allocations: 0 / 0.9015 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.00568/0.9024, allocations: 1.952 MB / 0.9034 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.9025, allocations: 60.06 kB / 0.9034 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.9039, allocations: 1.267 MB / 0.9047 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.906e-05/0.904, allocations: 49.7 kB / 0.9047 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.9044, allocations: 0.5677 MB / 0.9053 GB, free: 92 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.9046, allocations: 276.1 kB / 0.9055 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.9049, allocations: 186.5 kB / 0.9057 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9051, allocations: 345.9 kB / 0.9061 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.9066, allocations: 0.5484 MB / 0.9066 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.9083, allocations: 0.8272 MB / 0.9074 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.9114, allocations: 1.332 MB / 0.9087 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.9114, allocations: 4 kB / 0.9087 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00373/0.9152, allocations: 1.523 MB / 0.9102 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.9152, allocations: 8 kB / 0.9102 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9152, allocations: 12.09 kB / 0.9102 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.9152, allocations: 12 kB / 0.9102 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.9166, allocations: 291.5 kB / 0.9105 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.9166, allocations: 15.98 kB / 0.9105 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.9181, allocations: 210.8 kB / 0.9107 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.9182, allocations: 59.91 kB / 0.9108 GB, free: 10.25 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005556/0.9187, allocations: 333 kB / 0.9111 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.919, allocations: 138.3 kB / 0.9112 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.9227, allocations: 1.448 MB / 0.9126 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.9227, allocations: 8 kB / 0.9126 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9227, allocations: 7.938 kB / 0.9127 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.9227, allocations: 3.984 kB / 0.9127 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.9282, allocations: 2.857 MB / 0.9154 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9283, allocations: 3.938 kB / 0.9155 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.9295, allocations: 232.2 kB / 0.9157 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.9295, allocations: 11.94 kB / 0.9157 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.9296, allocations: 27.97 kB / 0.9157 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.9296, allocations: 4 kB / 0.9157 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.9296, allocations: 15.88 kB / 0.9157 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005347/0.935, allocations: 2.314 MB / 0.918 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/0.9355, allocations: 307.3 kB / 0.9183 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.9357, allocations: 20 kB / 0.9183 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.9368, allocations: 127.8 kB / 0.9184 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.937, allocations: 64.38 kB / 0.9185 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.9371, allocations: 35.97 kB / 0.9185 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00102/0.9381, allocations: 0.8762 MB / 0.9194 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9381, allocations: 0 / 0.9194 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009563/0.9391, allocations: 315.7 kB / 0.9197 GB, free: 0.9258 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.006894/0.946, allocations: 3.277 MB / 0.9229 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004282/0.9503, allocations: 1.441 MB / 0.9243 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.9503, allocations: 256 / 0.9243 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.9521, allocations: 0.6597 MB / 0.9249 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.9552, allocations: 0.6205 MB / 0.9255 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.976, allocations: 12.31 MB / 0.9376 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.9767, allocations: 1.167 MB / 0.9387 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001505/0.9782, allocations: 354.2 kB / 0.939 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/0.9789, allocations: 495.2 kB / 0.9395 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.979, allocations: 0 / 0.9395 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/1.03, allocations: 34.35 MB / 0.973 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/1.03, allocations: 271.9 kB / 0.9733 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.548, allocations: 2.5 kB / 0.9733 GB, free: 9.891 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)