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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 143.4 MB / 159.2 MB, free: 4.93 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 184.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 103.1 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 285.5 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 83.88 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3917, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5268/0.9186, allocations: 191.6 MB / 0.955 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.008438/0.927, allocations: 5.22 MB / 0.9601 GB, free: 15.76 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.9291, allocations: 43.97 kB / 0.9601 GB, free: 15.76 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.9312, allocations: 0.7109 MB / 0.9608 GB, free: 15.74 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.007084/0.9383, allocations: 2.453 MB / 0.9632 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.9416, allocations: 1.037 MB / 0.9642 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004028/0.9457, allocations: 3.598 MB / 0.9678 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.9472, allocations: 0.8307 MB / 0.9686 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.9497, allocations: 1.026 MB / 0.9696 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.9512, allocations: 0.9843 MB / 0.9705 GB, free: 15.23 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.9514, allocations: 50.69 kB / 0.9706 GB, free: 15.23 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004226/0.9556, allocations: 2.073 MB / 0.9726 GB, free: 14.76 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.9561, allocations: 423.7 kB / 0.973 GB, free: 14.5 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008467/0.957, allocations: 0.618 MB / 0.9736 GB, free: 14.11 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.961, allocations: 2.225 MB / 0.9758 GB, free: 12.88 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.961, allocations: 0 / 0.9758 GB, free: 12.88 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.082e-06/0.961, allocations: 0 / 0.9758 GB, free: 12.88 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.961, allocations: 0 / 0.9758 GB, free: 12.88 MB / 0.573 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.004823/0.9658, allocations: 1.948 MB / 0.9777 GB, free: 11.45 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.9659, allocations: 7.688 kB / 0.9777 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/0.9698, allocations: 0.6674 MB / 0.9783 GB, free: 11.15 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.9714, allocations: 0.8877 MB / 0.9792 GB, free: 10.47 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.9715, allocations: 68.06 kB / 0.9793 GB, free: 10.44 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.9717, allocations: 93.45 kB / 0.9794 GB, free: 10.41 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.975, allocations: 1.476 MB / 0.9808 GB, free: 9.461 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.975, allocations: 7.938 kB / 0.9808 GB, free: 9.453 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.9751, allocations: 40.12 kB / 0.9809 GB, free: 9.426 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/0.9752, allocations: 43.95 kB / 0.9809 GB, free: 9.422 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004501/0.9797, allocations: 1.524 MB / 0.9824 GB, free: 8.68 MB / 0.573 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.007878/0.9876, allocations: 5.483 MB / 0.9877 GB, free: 4.109 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.9914, allocations: 1.281 MB / 0.989 GB, free: 3.488 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.9931, allocations: 0.6645 MB / 0.9896 GB, free: 3.172 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009533/0.9941, allocations: 0.5794 MB / 0.9902 GB, free: 2.566 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/0.9962, allocations: 0.7124 MB / 0.9909 GB, free: 2.148 MB / 0.573 GB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/0.9962, allocations: 3.938 kB / 0.9909 GB, free: 2.145 MB / 0.573 GB Notification: Performance of matching and sorting (n=80): time 0.005718/1.002, allocations: 1.877 MB / 0.9927 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.002, allocations: 60.06 kB / 0.9928 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.004, allocations: 1.255 MB / 0.994 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/1.004, allocations: 41.7 kB / 0.9941 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/1.004, allocations: 0.5815 MB / 0.9946 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/1.004, allocations: 280.8 kB / 0.9949 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/1.005, allocations: 186.5 kB / 0.9951 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.005, allocations: 337.9 kB / 0.9954 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.007, allocations: 0.5367 MB / 0.9959 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/1.008, allocations: 0.8466 MB / 0.9967 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.012, allocations: 1.328 MB / 0.998 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.012, allocations: 7.938 kB / 0.998 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004023/1.016, allocations: 1.498 MB / 0.9995 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.016, allocations: 11.94 kB / 0.9995 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.016, allocations: 8 kB / 0.9995 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/1.016, allocations: 12.75 kB / 0.9995 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.017, allocations: 293.8 kB / 0.9998 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/1.017, allocations: 19.92 kB / 0.9998 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.019, allocations: 218.7 kB / 1 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.019, allocations: 51.97 kB / 1 GB, free: 8.984 MB / 0.5886 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.0005649/1.02, allocations: 339.7 kB / 1 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.02, allocations: 138.2 kB / 1.001 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/1.024, allocations: 1.403 MB / 1.002 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.024, allocations: 8 kB / 1.002 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.024, allocations: 0 / 1.002 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.024, allocations: 7.984 kB / 1.002 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/1.03, allocations: 2.794 MB / 1.005 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.03, allocations: 4 kB / 1.005 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.031, allocations: 232.1 kB / 1.005 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/1.031, allocations: 11.94 kB / 1.005 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/1.031, allocations: 31.91 kB / 1.005 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/1.031, allocations: 8 kB / 1.005 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.031, allocations: 9.812 kB / 1.005 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/1.042, allocations: 5.477 MB / 1.01 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/1.042, allocations: 299.4 kB / 1.011 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.042, allocations: 20 kB / 1.011 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.044, allocations: 131.8 kB / 1.011 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.044, allocations: 52.44 kB / 1.011 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/1.044, allocations: 43.97 kB / 1.011 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009907/1.045, allocations: 0.8643 MB / 1.012 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.045, allocations: 0 / 1.012 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001221/1.046, allocations: 407.6 kB / 1.012 GB, free: 12.33 MB / 0.6042 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.001191/1.047, allocations: 0.5313 MB / 1.013 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003625/1.051, allocations: 1.282 MB / 1.014 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.051, allocations: 0 / 1.014 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/1.053, allocations: 0.6386 MB / 1.014 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.056, allocations: 0.5871 MB / 1.015 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/1.061, allocations: 3.426 MB / 1.018 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/1.062, allocations: 1.205 MB / 1.02 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001701/1.064, allocations: 350 kB / 1.02 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/1.064, allocations: 111.4 kB / 1.02 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.223e-06/1.064, allocations: 3.938 kB / 1.02 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of Templates: time 0.03697/1.101, allocations: 22.4 MB / 1.042 GB, free: 14.14 MB / 0.6355 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)