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.004609/0.004609, allocations: 100.1 kB / 15.73 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.001113/0.001113, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.33/1.33, allocations: 222.9 MB / 240.4 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.002005/0.002005, allocations: 286.5 kB / 290.8 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.9229/0.9229, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 95.84 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4336, allocations: 86.98 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1962/0.6299, allocations: 193.8 MB / 0.9557 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4477/1.078, allocations: 5.131 MB / 0.9607 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/1.079, allocations: 46.09 kB / 0.9607 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/1.082, allocations: 0.8204 MB / 0.9615 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007306/1.089, allocations: 2.596 MB / 0.9641 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/1.093, allocations: 1.114 MB / 0.9652 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003953/1.097, allocations: 2.677 MB / 0.9678 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/1.098, allocations: 0.9448 MB / 0.9687 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/1.101, allocations: 1.131 MB / 0.9698 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.103, allocations: 0.9934 MB / 0.9708 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/1.103, allocations: 89.03 kB / 0.9709 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/1.107, allocations: 1.792 MB / 0.9726 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006829/1.108, allocations: 454.2 kB / 0.973 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/1.109, allocations: 0.6583 MB / 0.9737 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004183/1.113, allocations: 2.227 MB / 0.9759 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.113, allocations: 0.8438 kB / 0.9759 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/1.113, allocations: 0 / 0.9759 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.635e-05/1.114, allocations: 0.9375 kB / 0.9759 GB, free: 1.477 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.005908/1.119, allocations: 1.967 MB / 0.9778 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.12, allocations: 8.469 kB / 0.9778 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005598/1.125, allocations: 0.8946 MB / 0.9787 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/1.127, allocations: 0.9688 MB / 0.9796 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.675e-05/1.127, allocations: 72.81 kB / 0.9797 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/1.128, allocations: 86.28 kB / 0.9798 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/1.131, allocations: 1.586 MB / 0.9813 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/1.131, allocations: 5.594 kB / 0.9813 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/1.132, allocations: 39.36 kB / 0.9814 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/1.132, allocations: 49.38 kB / 0.9814 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/1.137, allocations: 1.844 MB / 0.9832 GB, free: 15.93 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.008381/1.145, allocations: 4.728 MB / 0.9878 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/1.15, allocations: 1.567 MB / 0.9893 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/1.152, allocations: 0.8526 MB / 0.9902 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/1.153, allocations: 0.9462 MB / 0.9911 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002495/1.156, allocations: 0.9049 MB / 0.992 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 6.662e-06/1.156, allocations: 4.891 kB / 0.992 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007575/1.163, allocations: 2.458 MB / 0.9944 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/1.163, allocations: 67.53 kB / 0.9945 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.165, allocations: 1.2 MB / 0.9956 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/1.165, allocations: 45.02 kB / 0.9957 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/1.166, allocations: 0.5453 MB / 0.9962 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/1.166, allocations: 324.3 kB / 0.9965 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/1.166, allocations: 186 kB / 0.9967 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.166, allocations: 343.2 kB / 0.997 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/1.169, allocations: 0.7032 MB / 0.9977 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/1.171, allocations: 0.9124 MB / 0.9986 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/1.175, allocations: 1.554 MB / 1 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.175, allocations: 3.469 kB / 1 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00508/1.18, allocations: 1.78 MB / 1.002 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.18, allocations: 8.281 kB / 1.002 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.18, allocations: 2.312 kB / 1.002 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/1.18, allocations: 9.781 kB / 1.002 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.182, allocations: 348.6 kB / 1.002 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/1.182, allocations: 11.94 kB / 1.002 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.184, allocations: 225.7 kB / 1.002 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/1.184, allocations: 50.81 kB / 1.002 GB, free: 11.29 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.0006845/1.185, allocations: 338.5 kB / 1.003 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/1.185, allocations: 138.2 kB / 1.003 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005203/1.19, allocations: 1.805 MB / 1.005 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.19, allocations: 12.47 kB / 1.005 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.19, allocations: 0 / 1.005 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.19, allocations: 4.828 kB / 1.005 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007642/1.198, allocations: 3.319 MB / 1.008 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.198, allocations: 6.062 kB / 1.008 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.2, allocations: 293.1 kB / 1.008 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/1.2, allocations: 10.09 kB / 1.008 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.2, allocations: 36.47 kB / 1.008 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.2, allocations: 11.06 kB / 1.008 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.2, allocations: 8.344 kB / 1.008 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00766/1.208, allocations: 2.84 MB / 1.011 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/1.208, allocations: 323.1 kB / 1.011 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/1.209, allocations: 29.44 kB / 1.011 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.211, allocations: 150.1 kB / 1.012 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/1.211, allocations: 69.86 kB / 1.012 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.211, allocations: 48.45 kB / 1.012 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00132/1.212, allocations: 0.8307 MB / 1.012 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.212, allocations: 0 / 1.012 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001347/1.214, allocations: 343.9 kB / 1.013 GB, free: 9.684 MB / 0.7325 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.001435/1.215, allocations: 0.5239 MB / 1.013 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005038/1.22, allocations: 1.639 MB / 1.015 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.22, allocations: 0 / 1.015 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/1.223, allocations: 0.8384 MB / 1.016 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/1.226, allocations: 0.6232 MB / 1.016 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/1.233, allocations: 2.97 MB / 1.019 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009875/1.234, allocations: 1.19 MB / 1.02 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001722/1.235, allocations: 356.7 kB / 1.021 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/1.236, allocations: 113.6 kB / 1.021 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.236, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of Templates: time 0.04037/1.276, allocations: 23.93 MB / 1.044 GB, free: 1.469 MB / 0.7481 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)