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.001289/0.001289, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001307/0.001307, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.234/1.234, allocations: 222.9 MB / 241 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.002013/0.002013, allocations: 293.9 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.8869/0.8869, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 95.86 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.416, allocations: 86.96 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1794/0.5954, allocations: 193.8 MB / 0.9563 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4389/1.034, allocations: 5.138 MB / 0.9614 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/1.036, allocations: 47.22 kB / 0.9614 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002394/1.039, allocations: 0.8106 MB / 0.9622 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009348/1.048, allocations: 2.599 MB / 0.9647 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/1.052, allocations: 1.113 MB / 0.9658 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003971/1.055, allocations: 2.682 MB / 0.9684 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.057, allocations: 0.9429 MB / 0.9694 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/1.059, allocations: 1.128 MB / 0.9705 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/1.06, allocations: 0.9926 MB / 0.9714 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/1.06, allocations: 86.91 kB / 0.9715 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/1.065, allocations: 1.789 MB / 0.9733 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005183/1.065, allocations: 457.4 kB / 0.9737 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009625/1.066, allocations: 0.6604 MB / 0.9743 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/1.07, allocations: 2.228 MB / 0.9765 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.07, allocations: 3.625 kB / 0.9765 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/1.07, allocations: 0 / 0.9765 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.132e-05/1.07, allocations: 3.766 kB / 0.9765 GB, free: 1.461 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.004514/1.074, allocations: 1.957 MB / 0.9784 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.074, allocations: 10.47 kB / 0.9784 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/1.08, allocations: 0.8913 MB / 0.9793 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/1.081, allocations: 0.9761 MB / 0.9803 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/1.082, allocations: 68.22 kB / 0.9803 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/1.082, allocations: 92.81 kB / 0.9804 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/1.085, allocations: 1.586 MB / 0.982 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.085, allocations: 3.031 kB / 0.982 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.085, allocations: 32.19 kB / 0.982 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-05/1.085, allocations: 51.3 kB / 0.9821 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00477/1.09, allocations: 1.846 MB / 0.9839 GB, free: 15.92 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.007152/1.097, allocations: 4.73 MB / 0.9885 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/1.102, allocations: 1.566 MB / 0.99 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/1.104, allocations: 0.8565 MB / 0.9908 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.105, allocations: 0.9387 MB / 0.9918 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002263/1.107, allocations: 0.9138 MB / 0.9927 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 4.148e-06/1.107, allocations: 0 / 0.9927 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007188/1.114, allocations: 2.455 MB / 0.995 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/1.114, allocations: 74.25 kB / 0.9951 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.116, allocations: 1.196 MB / 0.9963 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.116, allocations: 45.67 kB / 0.9963 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/1.116, allocations: 0.5487 MB / 0.9969 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/1.117, allocations: 321.9 kB / 0.9972 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/1.117, allocations: 185.2 kB / 0.9974 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.117, allocations: 343.4 kB / 0.9977 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/1.119, allocations: 0.7007 MB / 0.9984 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/1.121, allocations: 0.9121 MB / 0.9993 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/1.125, allocations: 1.556 MB / 1.001 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.125, allocations: 3.594 kB / 1.001 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004689/1.13, allocations: 1.778 MB / 1.003 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.13, allocations: 6.688 kB / 1.003 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.13, allocations: 3.469 kB / 1.003 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/1.13, allocations: 10.19 kB / 1.003 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.132, allocations: 347.8 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.132, allocations: 9.422 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.133, allocations: 234.2 kB / 1.003 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/1.133, allocations: 46.77 kB / 1.003 GB, free: 11.28 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.000582/1.134, allocations: 337 kB / 1.003 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/1.134, allocations: 138.2 kB / 1.004 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/1.139, allocations: 1.805 MB / 1.005 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.139, allocations: 10.44 kB / 1.005 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.139, allocations: 0 / 1.005 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.139, allocations: 4.594 kB / 1.005 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006735/1.146, allocations: 3.316 MB / 1.009 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.146, allocations: 8.875 kB / 1.009 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/1.148, allocations: 291.3 kB / 1.009 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/1.148, allocations: 11.25 kB / 1.009 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/1.148, allocations: 39.39 kB / 1.009 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/1.148, allocations: 9 kB / 1.009 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.148, allocations: 4.312 kB / 1.009 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007181/1.155, allocations: 2.841 MB / 1.012 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008781/1.156, allocations: 319.8 kB / 1.012 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/1.156, allocations: 30.53 kB / 1.012 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.157, allocations: 157.3 kB / 1.012 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.158, allocations: 68.27 kB / 1.012 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.752e-05/1.158, allocations: 48.31 kB / 1.012 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001185/1.159, allocations: 0.8347 MB / 1.013 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.159, allocations: 0 / 1.013 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001047/1.16, allocations: 340.9 kB / 1.013 GB, free: 9.676 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.00119/1.161, allocations: 0.5401 MB / 1.014 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004403/1.165, allocations: 1.638 MB / 1.016 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.165, allocations: 0 / 1.016 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/1.168, allocations: 0.8322 MB / 1.016 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/1.17, allocations: 0.6234 MB / 1.017 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005577/1.176, allocations: 3.031 MB / 1.02 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/1.177, allocations: 1.19 MB / 1.021 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000593/1.177, allocations: 127.2 kB / 1.021 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/1.177, allocations: 0 / 1.021 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.03196/1.209, allocations: 21.91 MB / 1.043 GB, free: 3.602 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)