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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0012/0.0012, allocations: 192.1 kB / 16.14 MB, free: 6.715 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002441, allocations: 287 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8966/0.8966, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 96.72 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1675, allocations: 86.99 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4804/0.648, allocations: 191.5 MB / 0.8666 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009284/0.6573, allocations: 5.184 MB / 0.8717 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.6589, allocations: 44.53 kB / 0.8717 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.6609, allocations: 0.7194 MB / 0.8724 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.6671, allocations: 2.448 MB / 0.8748 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.6696, allocations: 1.008 MB / 0.8758 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004154/0.6737, allocations: 3.526 MB / 0.8792 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.6751, allocations: 0.8192 MB / 0.88 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.6771, allocations: 0.9981 MB / 0.881 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.6783, allocations: 1.002 MB / 0.882 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.6785, allocations: 49.84 kB / 0.882 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.6824, allocations: 2.072 MB / 0.884 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004197/0.6828, allocations: 413.9 kB / 0.8844 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006866/0.6835, allocations: 0.621 MB / 0.885 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.6868, allocations: 2.227 MB / 0.8872 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6868, allocations: 4 kB / 0.8872 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6869, allocations: 0 / 0.8872 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.6869, allocations: 0 / 0.8872 GB, free: 1.465 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.004827/0.6917, allocations: 1.935 MB / 0.8891 GB, free: 24 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.6918, allocations: 17.75 kB / 0.8891 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.692, allocations: 138.2 kB / 0.8893 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/0.6962, allocations: 0.6982 MB / 0.8899 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.6976, allocations: 0.8913 MB / 0.8908 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.6977, allocations: 73.23 kB / 0.8909 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.6979, allocations: 91.7 kB / 0.891 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.7009, allocations: 1.462 MB / 0.8924 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.7009, allocations: 3.938 kB / 0.8924 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.701, allocations: 32 kB / 0.8924 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/0.7011, allocations: 49.98 kB / 0.8925 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.7053, allocations: 1.563 MB / 0.894 GB, free: 12.15 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.006886/0.7122, allocations: 5.034 MB / 0.8989 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.7155, allocations: 1.186 MB / 0.9001 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.7172, allocations: 0.6668 MB / 0.9007 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.7185, allocations: 0.941 MB / 0.9017 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.7204, allocations: 0.7264 MB / 0.9024 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.286e-06/0.7204, allocations: 0 / 0.9024 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005734/0.7261, allocations: 1.952 MB / 0.9043 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.7262, allocations: 60.06 kB / 0.9043 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.7277, allocations: 1.263 MB / 0.9056 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/0.7278, allocations: 53.69 kB / 0.9056 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.7282, allocations: 0.5677 MB / 0.9062 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.7284, allocations: 280.1 kB / 0.9064 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.7287, allocations: 182.5 kB / 0.9066 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7288, allocations: 349.9 kB / 0.9069 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.7304, allocations: 0.5406 MB / 0.9075 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.7321, allocations: 0.8247 MB / 0.9083 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/0.7352, allocations: 1.34 MB / 0.9096 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7352, allocations: 4 kB / 0.9096 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00365/0.7389, allocations: 1.519 MB / 0.9111 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7389, allocations: 8.094 kB / 0.9111 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7389, allocations: 12 kB / 0.9111 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.7389, allocations: 12 kB / 0.9111 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.7403, allocations: 293 kB / 0.9114 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-05/0.7403, allocations: 18.17 kB / 0.9114 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.7417, allocations: 210.8 kB / 0.9116 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.7418, allocations: 55.92 kB / 0.9116 GB, free: 9.359 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.0004696/0.7423, allocations: 336.3 kB / 0.912 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.7425, allocations: 134.3 kB / 0.9121 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.7462, allocations: 1.456 MB / 0.9135 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.7462, allocations: 8.875 kB / 0.9135 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7462, allocations: 4.094 kB / 0.9135 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.7463, allocations: 7.922 kB / 0.9135 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.7518, allocations: 2.858 MB / 0.9163 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7518, allocations: 4.5 kB / 0.9163 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.753, allocations: 223.7 kB / 0.9165 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.7531, allocations: 12 kB / 0.9166 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.503e-05/0.7532, allocations: 31.97 kB / 0.9166 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.7532, allocations: 8 kB / 0.9166 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.7532, allocations: 11.88 kB / 0.9166 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.7586, allocations: 2.307 MB / 0.9189 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.7591, allocations: 303.2 kB / 0.9192 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.7593, allocations: 23.98 kB / 0.9192 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7605, allocations: 119.9 kB / 0.9193 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7606, allocations: 72.36 kB / 0.9194 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.272e-05/0.7607, allocations: 35.97 kB / 0.9194 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001081/0.7618, allocations: 0.8684 MB / 0.9202 GB, free: 360 kB / 0.6231 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7618, allocations: 0 / 0.9202 GB, free: 360 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009696/0.7628, allocations: 319.7 kB / 0.9205 GB, free: 40 kB / 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.006911/0.7697, allocations: 3.296 MB / 0.9238 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.7733, allocations: 1.296 MB / 0.925 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7733, allocations: 4.25 kB / 0.925 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.7751, allocations: 0.6597 MB / 0.9257 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.7779, allocations: 0.594 MB / 0.9263 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.8003, allocations: 12.32 MB / 0.9383 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/0.8011, allocations: 1.171 MB / 0.9394 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001508/0.8026, allocations: 354.2 kB / 0.9398 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007489/0.8034, allocations: 499.2 kB / 0.9402 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/0.8034, allocations: 0 / 0.9402 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0513/0.8547, allocations: 33.47 MB / 0.9729 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.855, allocations: 276.5 kB / 0.9732 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/3.446, allocations: 0 / 0.9732 GB, free: 9.973 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)