Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 143.4 MB / 159.2 MB, free: 4.887 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.001174/0.001175, allocations: 190.1 kB / 191.9 MB, free: 5.734 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.43/1.43, allocations: 222.9 MB / 447.3 MB, free: 5.879 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.001147/0.001147, allocations: 107.1 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 284.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 87.88 kB / 0.6885 GB, free: 3.863 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3693, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6079/0.9773, allocations: 191.6 MB / 0.955 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.008645/0.986, allocations: 5.214 MB / 0.9601 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.9877, allocations: 47.19 kB / 0.9601 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.9896, allocations: 0.7124 MB / 0.9608 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.9965, allocations: 2.454 MB / 0.9632 GB, free: 15.64 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.9996, allocations: 1.047 MB / 0.9642 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004718/1.004, allocations: 3.657 MB / 0.9678 GB, free: 15.6 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/1.006, allocations: 0.8748 MB / 0.9687 GB, free: 15.5 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/1.009, allocations: 1.046 MB / 0.9697 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/1.011, allocations: 1.028 MB / 0.9707 GB, free: 15.26 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/1.011, allocations: 59 kB / 0.9707 GB, free: 15.25 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/1.015, allocations: 2.08 MB / 0.9728 GB, free: 14.66 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007629/1.016, allocations: 426.7 kB / 0.9732 GB, free: 14.4 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/1.017, allocations: 0.6413 MB / 0.9738 GB, free: 14 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004806/1.022, allocations: 2.278 MB / 0.976 GB, free: 12.73 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.022, allocations: 2.625 kB / 0.976 GB, free: 12.73 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.513e-06/1.022, allocations: 0 / 0.976 GB, free: 12.73 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.311e-05/1.022, allocations: 0 / 0.976 GB, free: 12.73 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005442/1.028, allocations: 1.975 MB / 0.978 GB, free: 11.29 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.028, allocations: 11.42 kB / 0.978 GB, free: 11.29 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005749/1.034, allocations: 0.8924 MB / 0.9788 GB, free: 10.88 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/1.036, allocations: 0.9285 MB / 0.9797 GB, free: 10.17 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/1.036, allocations: 71.95 kB / 0.9798 GB, free: 10.14 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/1.036, allocations: 90.59 kB / 0.9799 GB, free: 10.11 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/1.04, allocations: 1.578 MB / 0.9814 GB, free: 9.188 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/1.04, allocations: 4 kB / 0.9814 GB, free: 9.184 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.04, allocations: 40.64 kB / 0.9815 GB, free: 9.156 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/1.04, allocations: 47.33 kB / 0.9815 GB, free: 9.148 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005313/1.045, allocations: 1.848 MB / 0.9833 GB, free: 8.258 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.00789/1.053, allocations: 4.743 MB / 0.988 GB, free: 4.582 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/1.058, allocations: 1.564 MB / 0.9895 GB, free: 3.82 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/1.06, allocations: 0.8479 MB / 0.9903 GB, free: 3.414 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/1.061, allocations: 0.9445 MB / 0.9912 GB, free: 2.363 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002477/1.064, allocations: 0.9246 MB / 0.9921 GB, free: 1.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=95): time 3.787e-06/1.064, allocations: 0 / 0.9921 GB, free: 1.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=95): time 0.007841/1.072, allocations: 2.443 MB / 0.9945 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.072, allocations: 64.39 kB / 0.9946 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.073, allocations: 1.206 MB / 0.9958 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/1.073, allocations: 49.7 kB / 0.9958 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/1.074, allocations: 0.5473 MB / 0.9964 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/1.074, allocations: 329.3 kB / 0.9967 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/1.075, allocations: 194.5 kB / 0.9969 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.075, allocations: 345.9 kB / 0.9972 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/1.077, allocations: 0.6976 MB / 0.9979 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/1.079, allocations: 0.9294 MB / 0.9988 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/1.084, allocations: 1.555 MB / 1 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.084, allocations: 3.938 kB / 1 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005411/1.089, allocations: 1.774 MB / 1.002 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.089, allocations: 12.09 kB / 1.002 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.089, allocations: 4 kB / 1.002 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.089, allocations: 11.94 kB / 1.002 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/1.091, allocations: 343.5 kB / 1.002 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/1.091, allocations: 12.8 kB / 1.002 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.093, allocations: 265.9 kB / 1.003 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.093, allocations: 43.98 kB / 1.003 GB, free: 6.469 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006758/1.094, allocations: 335.8 kB / 1.003 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/1.094, allocations: 138.2 kB / 1.003 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/1.099, allocations: 1.806 MB / 1.005 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.099, allocations: 12 kB / 1.005 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.099, allocations: 0 / 1.005 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.1, allocations: 3.984 kB / 1.005 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007683/1.107, allocations: 3.329 MB / 1.008 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.107, allocations: 4 kB / 1.008 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.109, allocations: 296 kB / 1.008 GB, free: 480 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.109, allocations: 8 kB / 1.008 GB, free: 472 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.109, allocations: 31.97 kB / 1.008 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/1.109, allocations: 11.94 kB / 1.009 GB, free: 428 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.109, allocations: 4 kB / 1.009 GB, free: 424 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/1.122, allocations: 6.768 MB / 1.015 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/1.123, allocations: 319.2 kB / 1.015 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/1.123, allocations: 31.92 kB / 1.015 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.125, allocations: 167.8 kB / 1.016 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.125, allocations: 76.44 kB / 1.016 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.125, allocations: 40.09 kB / 1.016 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008992/1.126, allocations: 0.8357 MB / 1.017 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.017 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001174/1.127, allocations: 435.5 kB / 1.017 GB, free: 7.398 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001121/1.128, allocations: 0.542 MB / 1.017 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004617/1.133, allocations: 1.622 MB / 1.019 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.133, allocations: 0 / 1.019 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00232/1.135, allocations: 0.8396 MB / 1.02 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.138, allocations: 0.6164 MB / 1.02 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/1.145, allocations: 3.915 MB / 1.024 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.146, allocations: 1.225 MB / 1.026 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001999/1.149, allocations: 366.2 kB / 1.026 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/1.149, allocations: 115.4 kB / 1.026 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/1.149, allocations: 0 / 1.026 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.04071/1.19, allocations: 24.02 MB / 1.049 GB, free: 6.488 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)