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.001401/0.001401, allocations: 113 kB / 16.42 MB, free: 6.008 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.000985/0.000985, allocations: 183.9 kB / 17.35 MB, free: 5.625 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 287.2 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.9252/0.9252, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 99.84 kB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3699, allocations: 86.97 MB / 0.7671 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1833/0.5533, allocations: 193.8 MB / 0.9564 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3673/0.9206, allocations: 5.134 MB / 0.9614 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.9215, allocations: 50.72 kB / 0.9614 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.9233, allocations: 0.8205 MB / 0.9622 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.9287, allocations: 2.699 MB / 0.9648 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.9313, allocations: 1.114 MB / 0.9659 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.9341, allocations: 2.687 MB / 0.9686 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.9353, allocations: 0.9464 MB / 0.9695 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.9371, allocations: 1.142 MB / 0.9706 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.9381, allocations: 0.99 MB / 0.9716 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.9383, allocations: 86.59 kB / 0.9717 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.9412, allocations: 1.806 MB / 0.9734 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.9416, allocations: 452.1 kB / 0.9738 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.9422, allocations: 0.6622 MB / 0.9745 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.9447, allocations: 2.229 MB / 0.9767 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9447, allocations: 1.531 kB / 0.9767 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9447, allocations: 1.062 kB / 0.9767 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.9447, allocations: 0 / 0.9767 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.004567/0.9493, allocations: 1.961 MB / 0.9786 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.9493, allocations: 9.406 kB / 0.9786 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005507/0.9548, allocations: 0.8904 MB / 0.9795 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.9563, allocations: 0.9722 MB / 0.9804 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.9564, allocations: 72.45 kB / 0.9805 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.9566, allocations: 91.02 kB / 0.9806 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/0.96, allocations: 1.581 MB / 0.9821 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.96, allocations: 5.25 kB / 0.9821 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.9602, allocations: 36.28 kB / 0.9822 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.9602, allocations: 48.95 kB / 0.9822 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.9651, allocations: 1.851 MB / 0.984 GB, free: 15.9 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.006692/0.9718, allocations: 4.731 MB / 0.9886 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/0.9761, allocations: 1.557 MB / 0.9901 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.9783, allocations: 0.8572 MB / 0.991 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.9796, allocations: 0.9409 MB / 0.9919 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/0.982, allocations: 0.9104 MB / 0.9928 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.316e-06/0.982, allocations: 1.031 kB / 0.9928 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007474/0.9895, allocations: 2.468 MB / 0.9952 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.9895, allocations: 60.31 kB / 0.9953 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.9907, allocations: 1.197 MB / 0.9964 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.9908, allocations: 44.67 kB / 0.9965 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.9912, allocations: 0.5414 MB / 0.997 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.9914, allocations: 331.2 kB / 0.9973 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.9917, allocations: 179.9 kB / 0.9975 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9919, allocations: 346 kB / 0.9978 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.994, allocations: 0.6995 MB / 0.9985 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.9963, allocations: 0.9152 MB / 0.9994 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/1.001, allocations: 1.557 MB / 1.001 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.001, allocations: 2.688 kB / 1.001 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004835/1.005, allocations: 1.778 MB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.005, allocations: 7.969 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.005, allocations: 6.797 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.005, allocations: 8.5 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.007, allocations: 345.8 kB / 1.003 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/1.007, allocations: 11.12 kB / 1.003 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.009, allocations: 231.2 kB / 1.003 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.009, allocations: 44.2 kB / 1.003 GB, free: 11.27 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.0005199/1.01, allocations: 343.4 kB / 1.004 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.01, allocations: 135.3 kB / 1.004 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/1.015, allocations: 1.803 MB / 1.006 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.015, allocations: 4.406 kB / 1.006 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.015, allocations: 1.641 kB / 1.006 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/1.015, allocations: 319.2 kB / 1.006 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/1.016, allocations: 18.91 kB / 1.006 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.017, allocations: 156.4 kB / 1.006 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.017, allocations: 56.7 kB / 1.006 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005905/1.023, allocations: 1.865 MB / 1.008 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0071/1.03, allocations: 2.815 MB / 1.011 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002313/1.032, allocations: 0.7817 MB / 1.011 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001017/1.033, allocations: 0.8303 MB / 1.012 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of Backend: time 3.61e-07/1.033, allocations: 1 kB / 1.012 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004922/1.038, allocations: 1.711 MB / 1.014 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004292/1.043, allocations: 3.032 MB / 1.017 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.04427/1.087, allocations: 29.73 MB / 1.046 GB, free: 15.84 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)