Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007569/0.0007569, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.005532/0.005532, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.347/1.347, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 271.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9792/0.9792, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004271, allocations: 12.47 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1662, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5197/0.6859, allocations: 189 MB / 0.8697 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009382/0.6953, allocations: 5.126 MB / 0.8747 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.6971, allocations: 41.09 kB / 0.8747 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.6991, allocations: 0.7142 MB / 0.8754 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.7075, allocations: 2.452 MB / 0.8778 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.7104, allocations: 0.9965 MB / 0.8788 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004376/0.7148, allocations: 3.543 MB / 0.8823 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.7161, allocations: 0.8236 MB / 0.8831 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.7181, allocations: 0.9759 MB / 0.884 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.7193, allocations: 0.9668 MB / 0.885 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.7195, allocations: 44 kB / 0.885 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.7231, allocations: 2.065 MB / 0.887 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.7236, allocations: 406.5 kB / 0.8874 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.7243, allocations: 0.627 MB / 0.888 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.7274, allocations: 2.196 MB / 0.8902 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7274, allocations: 0 / 0.8902 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7274, allocations: 0 / 0.8902 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.7274, allocations: 0 / 0.8902 GB, free: 13.95 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.004754/0.7322, allocations: 1.678 MB / 0.8918 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7322, allocations: 8.031 kB / 0.8918 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.7363, allocations: 0.7045 MB / 0.8925 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.7378, allocations: 0.8786 MB / 0.8934 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.7379, allocations: 73.97 kB / 0.8934 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.738, allocations: 84 kB / 0.8935 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.7412, allocations: 1.485 MB / 0.895 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.7412, allocations: 7.938 kB / 0.895 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7413, allocations: 32 kB / 0.895 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/0.7414, allocations: 49.98 kB / 0.895 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.7456, allocations: 1.545 MB / 0.8966 GB, free: 7.215 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.007445/0.753, allocations: 5.491 MB / 0.9019 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.7568, allocations: 1.324 MB / 0.9032 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.7586, allocations: 0.667 MB / 0.9039 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009257/0.7595, allocations: 0.5929 MB / 0.9044 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/0.7615, allocations: 0.7267 MB / 0.9051 GB, free: 14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.316e-06/0.7615, allocations: 3.938 kB / 0.9052 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005722/0.7673, allocations: 1.909 MB / 0.907 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.7673, allocations: 60.06 kB / 0.9071 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.7689, allocations: 1.242 MB / 0.9083 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.984e-05/0.769, allocations: 49.69 kB / 0.9083 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.7695, allocations: 0.5753 MB / 0.9089 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.7698, allocations: 280.1 kB / 0.9092 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.77, allocations: 77.69 kB / 0.9092 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7701, allocations: 341.9 kB / 0.9096 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.7718, allocations: 0.5445 MB / 0.9101 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.7738, allocations: 0.833 MB / 0.9109 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.7774, allocations: 1.344 MB / 0.9122 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.7774, allocations: 96 / 0.9122 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004162/0.7816, allocations: 1.522 MB / 0.9137 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.7816, allocations: 16.09 kB / 0.9137 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.7817, allocations: 8 kB / 0.9137 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.7817, allocations: 12 kB / 0.9137 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.7831, allocations: 303.5 kB / 0.914 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.7831, allocations: 15.94 kB / 0.914 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.7846, allocations: 230.7 kB / 0.9143 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.7847, allocations: 47.98 kB / 0.9143 GB, free: 4.336 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005931/0.7853, allocations: 335.7 kB / 0.9146 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.7855, allocations: 138.2 kB / 0.9148 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/0.7896, allocations: 1.428 MB / 0.9162 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.7896, allocations: 8 kB / 0.9162 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7896, allocations: 0 / 0.9162 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.7897, allocations: 7.984 kB / 0.9162 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.7955, allocations: 2.838 MB / 0.9189 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.7956, allocations: 4 kB / 0.919 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7968, allocations: 227.7 kB / 0.9192 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.7968, allocations: 11.94 kB / 0.9192 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/0.7969, allocations: 31.97 kB / 0.9192 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.7969, allocations: 12.48 kB / 0.9192 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.7969, allocations: 4 kB / 0.9192 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/0.8026, allocations: 2.279 MB / 0.9215 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.8032, allocations: 303.1 kB / 0.9217 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.8033, allocations: 27.98 kB / 0.9218 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.8045, allocations: 135.8 kB / 0.9219 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.8046, allocations: 64.36 kB / 0.922 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.689e-05/0.8047, allocations: 35.97 kB / 0.922 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001025/0.8058, allocations: 0.8522 MB / 0.9228 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8058, allocations: 0 / 0.9228 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009917/0.8068, allocations: 315.6 kB / 0.9231 GB, free: 11.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.001268/0.808, allocations: 0.5451 MB / 0.9237 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003685/0.8117, allocations: 1.306 MB / 0.9249 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8117, allocations: 0 / 0.9249 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.8135, allocations: 0.656 MB / 0.9256 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.8169, allocations: 0.5639 MB / 0.9261 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.8222, allocations: 3.059 MB / 0.9291 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.8229, allocations: 1.177 MB / 0.9303 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001403/0.8243, allocations: 338 kB / 0.9306 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.8247, allocations: 115.4 kB / 0.9307 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/0.8247, allocations: 0 / 0.9307 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.03436/0.8591, allocations: 21.11 MB / 0.9513 GB, free: 14.62 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)