Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 115.5 kB / 16.42 MB, free: 6.516 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.001186/0.001186, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002273/0.002273, allocations: 296.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 107.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3888, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.05994/0.4488, allocations: 62.19 MB / 0.8278 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.4656, allocations: 11.44 MB / 0.839 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.4676, allocations: 83.44 kB / 0.8391 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.4699, allocations: 0.8072 MB / 0.8398 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.4748, allocations: 2.031 MB / 0.8418 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.4801, allocations: 2.04 MB / 0.8438 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005301/0.4854, allocations: 3.928 MB / 0.8477 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.4874, allocations: 1.267 MB / 0.8489 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.4918, allocations: 1.926 MB / 0.8508 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.494, allocations: 1.252 MB / 0.852 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004191/0.4944, allocations: 128 kB / 0.8521 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.4979, allocations: 1.552 MB / 0.8536 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005093/0.4984, allocations: 366.5 kB / 0.854 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.4998, allocations: 0.9015 MB / 0.8549 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.5041, allocations: 2.643 MB / 0.8574 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5041, allocations: 7.938 kB / 0.8574 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5042, allocations: 0 / 0.8574 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.803e-05/0.5042, allocations: 4 kB / 0.8575 GB, free: 7.043 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003701/0.5079, allocations: 2.182 MB / 0.8596 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.508, allocations: 8.031 kB / 0.8596 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.5115, allocations: 0.6104 MB / 0.8602 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.5141, allocations: 1.32 MB / 0.8615 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.5142, allocations: 78 kB / 0.8615 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.5144, allocations: 107.9 kB / 0.8617 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.5174, allocations: 1.365 MB / 0.863 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.5174, allocations: 8 kB / 0.863 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.5176, allocations: 40 kB / 0.863 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.5176, allocations: 24 kB / 0.8631 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.521, allocations: 1.233 MB / 0.8643 GB, free: 15.86 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.009156/0.5302, allocations: 6.631 MB / 0.8707 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.5335, allocations: 1.192 MB / 0.8719 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.5351, allocations: 0.662 MB / 0.8725 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/0.537, allocations: 2.245 MB / 0.8747 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/0.539, allocations: 0.8109 MB / 0.8755 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=97): time 3.386e-06/0.5391, allocations: 0 / 0.8755 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97): time 0.005606/0.5447, allocations: 2.121 MB / 0.8776 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.5448, allocations: 149.2 kB / 0.8777 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.5467, allocations: 1.238 MB / 0.879 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.5468, allocations: 45.7 kB / 0.879 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006298/0.5475, allocations: 0.7054 MB / 0.8797 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.5478, allocations: 319.4 kB / 0.88 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.5481, allocations: 210.4 kB / 0.8802 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5483, allocations: 345.9 kB / 0.8805 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.5499, allocations: 0.5787 MB / 0.8811 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.5518, allocations: 0.8297 MB / 0.8819 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.5553, allocations: 1.501 MB / 0.8834 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.5553, allocations: 4 kB / 0.8834 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004368/0.5597, allocations: 1.765 MB / 0.8851 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.792e-05/0.5598, allocations: 105.1 kB / 0.8852 GB, free: 9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.5598, allocations: 4 kB / 0.8852 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.5598, allocations: 12 kB / 0.8852 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.5611, allocations: 292.1 kB / 0.8855 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.087e-05/0.5612, allocations: 11.94 kB / 0.8855 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5627, allocations: 190.8 kB / 0.8857 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.5629, allocations: 51.98 kB / 0.8857 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002006/0.5649, allocations: 0.8066 MB / 0.8865 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001791/0.5667, allocations: 0.8431 MB / 0.8873 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003295/0.57, allocations: 1.482 MB / 0.8888 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.263e-06/0.57, allocations: 3.938 kB / 0.8888 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.004324/0.5743, allocations: 1.757 MB / 0.8905 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.5744, allocations: 105.1 kB / 0.8906 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5744, allocations: 8 kB / 0.8906 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5744, allocations: 8 kB / 0.8906 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.5757, allocations: 296.2 kB / 0.8909 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.5757, allocations: 11.94 kB / 0.8909 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5772, allocations: 179.1 kB / 0.8911 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5773, allocations: 55.97 kB / 0.8911 GB, free: 2.648 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.0003862/0.5777, allocations: 355.3 kB / 0.8915 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.5781, allocations: 162 kB / 0.8916 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/0.5832, allocations: 2.271 MB / 0.8938 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.5832, allocations: 7.984 kB / 0.8939 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.5832, allocations: 4 kB / 0.8939 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.5839, allocations: 386.5 kB / 0.8942 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.5842, allocations: 28 kB / 0.8943 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.5853, allocations: 111.8 kB / 0.8944 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.5855, allocations: 72.89 kB / 0.8944 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005361/0.5909, allocations: 2.263 MB / 0.8966 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006415/0.5973, allocations: 3.097 MB / 0.8997 GB, free: 9.77 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001979/0.5993, allocations: 0.8787 MB / 0.9005 GB, free: 8.891 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001353/0.6007, allocations: 0.8304 MB / 0.9013 GB, free: 8.062 MB / 0.67 GB Notification: Performance of Backend: time 7.01e-07/0.6007, allocations: 0 / 0.9013 GB, free: 8.062 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00662/0.6073, allocations: 2.662 MB / 0.9039 GB, free: 5.34 MB / 0.67 GB Notification: Performance of SimCode: time 0.005971/0.6133, allocations: 3.781 MB / 0.9076 GB, free: 1.477 MB / 0.67 GB Notification: Performance of Templates: time 0.05801/0.6713, allocations: 37.67 MB / 0.9444 GB, free: 12.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)