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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 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.001309/0.001309, allocations: 196 kB / 16.54 MB, free: 6.672 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 286.9 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.906/0.906, allocations: 169.2 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 100.2 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.461/0.6221, allocations: 193.8 MB / 0.8695 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00814/0.6303, allocations: 5.147 MB / 0.8746 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.6315, allocations: 46.69 kB / 0.8746 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.6332, allocations: 0.8102 MB / 0.8754 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.6392, allocations: 2.597 MB / 0.8779 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.6418, allocations: 1.109 MB / 0.879 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003101/0.6449, allocations: 2.598 MB / 0.8816 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.6463, allocations: 0.8924 MB / 0.8824 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.6482, allocations: 1.077 MB / 0.8835 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.6493, allocations: 0.9602 MB / 0.8844 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.6495, allocations: 77.69 kB / 0.8845 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.6527, allocations: 1.784 MB / 0.8862 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.6531, allocations: 430.8 kB / 0.8866 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.6537, allocations: 0.6607 MB / 0.8873 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.6565, allocations: 2.147 MB / 0.8894 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6565, allocations: 0 / 0.8894 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6565, allocations: 0 / 0.8894 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.6565, allocations: 0 / 0.8894 GB, free: 15.54 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.004577/0.6611, allocations: 1.934 MB / 0.8913 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6612, allocations: 14.12 kB / 0.8913 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.6613, allocations: 134.5 kB / 0.8914 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/0.6656, allocations: 0.7057 MB / 0.8921 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.6669, allocations: 0.8995 MB / 0.893 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.667, allocations: 61.28 kB / 0.893 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.6671, allocations: 91.52 kB / 0.8931 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.6702, allocations: 1.462 MB / 0.8946 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.6702, allocations: 5.562 kB / 0.8946 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.6703, allocations: 35.98 kB / 0.8946 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.6704, allocations: 49.98 kB / 0.8947 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/0.6745, allocations: 1.553 MB / 0.8962 GB, free: 10.11 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.006836/0.6813, allocations: 5.05 MB / 0.9011 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/0.6849, allocations: 1.195 MB / 0.9023 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.6866, allocations: 0.6668 MB / 0.9029 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.688, allocations: 0.941 MB / 0.9038 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/0.6899, allocations: 0.7225 MB / 0.9045 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.6899, allocations: 0 / 0.9045 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005888/0.6958, allocations: 1.956 MB / 0.9065 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.6958, allocations: 60.06 kB / 0.9065 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6973, allocations: 1.264 MB / 0.9077 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.317e-05/0.6974, allocations: 41.7 kB / 0.9078 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.6978, allocations: 0.5754 MB / 0.9083 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.698, allocations: 276.1 kB / 0.9086 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.6983, allocations: 190.5 kB / 0.9088 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6984, allocations: 337.9 kB / 0.9091 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.7001, allocations: 0.5523 MB / 0.9097 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.7019, allocations: 0.8169 MB / 0.9104 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.7052, allocations: 1.348 MB / 0.9118 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7052, allocations: 0 / 0.9118 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003887/0.7091, allocations: 1.514 MB / 0.9132 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.7092, allocations: 11.98 kB / 0.9133 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7092, allocations: 4 kB / 0.9133 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.7092, allocations: 14.25 kB / 0.9133 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.7107, allocations: 295.5 kB / 0.9136 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.7107, allocations: 12.94 kB / 0.9136 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.712, allocations: 202.8 kB / 0.9138 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.7122, allocations: 55.91 kB / 0.9138 GB, free: 7.316 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.0004874/0.7126, allocations: 337 kB / 0.9141 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.7129, allocations: 134.3 kB / 0.9143 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.7169, allocations: 1.446 MB / 0.9157 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.7169, allocations: 15.92 kB / 0.9157 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7169, allocations: 96 / 0.9157 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.7169, allocations: 7.922 kB / 0.9157 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.7226, allocations: 2.866 MB / 0.9185 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.7226, allocations: 4.094 kB / 0.9185 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.7239, allocations: 227.7 kB / 0.9187 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.7239, allocations: 8 kB / 0.9187 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.724, allocations: 27.97 kB / 0.9188 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.724, allocations: 9.312 kB / 0.9188 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.724, allocations: 11.94 kB / 0.9188 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.7295, allocations: 2.307 MB / 0.921 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.73, allocations: 299.3 kB / 0.9213 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.7302, allocations: 26.05 kB / 0.9213 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.7313, allocations: 111.9 kB / 0.9214 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.7315, allocations: 64.36 kB / 0.9215 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.7316, allocations: 39.97 kB / 0.9215 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009986/0.7326, allocations: 0.8723 MB / 0.9224 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7326, allocations: 0 / 0.9224 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009676/0.7336, allocations: 319.7 kB / 0.9227 GB, free: 14.01 MB / 0.6387 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.006987/0.7406, allocations: 3.288 MB / 0.9259 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.7446, allocations: 1.437 MB / 0.9273 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7447, allocations: 0 / 0.9273 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.7465, allocations: 0.6599 MB / 0.928 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003044/0.7496, allocations: 0.6203 MB / 0.9286 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.7703, allocations: 11.96 MB / 0.9402 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/0.7711, allocations: 1.177 MB / 0.9414 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001509/0.7727, allocations: 342.2 kB / 0.9417 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/0.7734, allocations: 0.4914 MB / 0.9422 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of SimCode: time 5.92e-07/0.7734, allocations: 0 / 0.9422 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/0.8414, allocations: 34.66 MB / 0.976 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/9.059, allocations: 20.12 kB / 0.9761 GB, free: 7.312 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)