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/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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 107.4 kB / 16.41 MB, free: 6.457 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.001225/0.001225, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.282/1.282, allocations: 222.9 MB / 241.1 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.002089/0.002089, allocations: 285.3 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.9241/0.9241, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 95.84 kB / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3728, allocations: 86.99 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1855/0.5583, allocations: 193.8 MB / 0.9564 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3483/0.9066, allocations: 5.135 MB / 0.9614 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000818/0.9075, allocations: 49.25 kB / 0.9614 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.9092, allocations: 0.806 MB / 0.9622 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.9142, allocations: 2.607 MB / 0.9648 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.9165, allocations: 1.112 MB / 0.9658 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.919, allocations: 2.674 MB / 0.9685 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.9201, allocations: 0.9473 MB / 0.9694 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.9217, allocations: 1.128 MB / 0.9705 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.9228, allocations: 0.9925 MB / 0.9714 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.9229, allocations: 90.59 kB / 0.9715 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.9259, allocations: 1.786 MB / 0.9733 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.9263, allocations: 459.1 kB / 0.9737 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000564/0.9268, allocations: 0.6601 MB / 0.9744 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.9291, allocations: 2.227 MB / 0.9765 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.9291, allocations: 0.9688 kB / 0.9765 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9291, allocations: 0 / 0.9765 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.9292, allocations: 0 / 0.9765 GB, free: 1.449 MB / 0.7169 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.004483/0.9337, allocations: 1.964 MB / 0.9785 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.9337, allocations: 10.28 kB / 0.9785 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/0.9392, allocations: 0.8928 MB / 0.9793 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.9405, allocations: 0.9705 MB / 0.9803 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.9406, allocations: 70.75 kB / 0.9804 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.9407, allocations: 91.98 kB / 0.9804 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/0.9442, allocations: 1.58 MB / 0.982 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.9442, allocations: 3.156 kB / 0.982 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.9443, allocations: 39.88 kB / 0.982 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.9444, allocations: 52.33 kB / 0.9821 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004887/0.9493, allocations: 1.845 MB / 0.9839 GB, free: 15.91 MB / 0.7325 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.006249/0.9555, allocations: 4.72 MB / 0.9885 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.9596, allocations: 1.568 MB / 0.99 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.9618, allocations: 0.8512 MB / 0.9908 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.963, allocations: 0.948 MB / 0.9918 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.9654, allocations: 0.9127 MB / 0.9927 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.885e-06/0.9654, allocations: 0.9375 kB / 0.9927 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007227/0.9726, allocations: 2.46 MB / 0.9951 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.9727, allocations: 64.06 kB / 0.9951 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.9737, allocations: 1.197 MB / 0.9963 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.9738, allocations: 54.7 kB / 0.9963 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.9742, allocations: 0.5449 MB / 0.9969 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.9744, allocations: 323.9 kB / 0.9972 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.9747, allocations: 190.1 kB / 0.9974 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9749, allocations: 339.6 kB / 0.9977 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.9769, allocations: 0.6933 MB / 0.9984 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.9792, allocations: 0.9128 MB / 0.9993 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/0.9834, allocations: 1.557 MB / 1.001 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.9834, allocations: 6.719 kB / 1.001 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004657/0.9881, allocations: 1.777 MB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.9881, allocations: 6.031 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9881, allocations: 9.5 kB / 1.003 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9881, allocations: 8.469 kB / 1.003 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.9899, allocations: 339.3 kB / 1.003 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.9899, allocations: 15.48 kB / 1.003 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.9914, allocations: 235.5 kB / 1.003 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.9916, allocations: 46.06 kB / 1.003 GB, free: 11.26 MB / 0.7325 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.0004997/0.9921, allocations: 333.6 kB / 1.003 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.9923, allocations: 134 kB / 1.004 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004918/0.9972, allocations: 1.809 MB / 1.005 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.9972, allocations: 3.609 kB / 1.005 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9972, allocations: 1.312 kB / 1.005 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.9977, allocations: 317.9 kB / 1.006 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.9979, allocations: 18.91 kB / 1.006 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.9992, allocations: 151.9 kB / 1.006 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.9994, allocations: 55.84 kB / 1.006 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005727/1.005, allocations: 1.86 MB / 1.008 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006781/1.012, allocations: 2.816 MB / 1.01 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002196/1.014, allocations: 0.7719 MB / 1.011 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009804/1.015, allocations: 0.8405 MB / 1.012 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of Backend: time 3.51e-07/1.015, allocations: 0 / 1.012 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004777/1.02, allocations: 1.725 MB / 1.014 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of SimCode: time 0.00424/1.024, allocations: 3.027 MB / 1.017 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.04293/1.067, allocations: 29.72 MB / 1.046 GB, free: 15.9 MB / 0.7637 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)