Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7627/0.7627, allocations: 143.4 MB / 159.2 MB, free: 4.852 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.001181/0.001181, allocations: 188.5 kB / 191.9 MB, free: 5.719 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.459/1.459, allocations: 222.9 MB / 447.3 MB, free: 5.859 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.001086/0.001086, allocations: 111 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 283.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 91.84 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3917, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5574/0.9492, allocations: 191.6 MB / 0.955 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009688/0.9589, allocations: 5.213 MB / 0.9601 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.9613, allocations: 48.31 kB / 0.9601 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.9635, allocations: 0.7114 MB / 0.9608 GB, free: 15.74 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.9708, allocations: 2.455 MB / 0.9632 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.9741, allocations: 1.038 MB / 0.9642 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005547/0.9797, allocations: 3.584 MB / 0.9677 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.982, allocations: 0.8283 MB / 0.9685 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.9852, allocations: 1.029 MB / 0.9696 GB, free: 15.37 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.9877, allocations: 0.9954 MB / 0.9705 GB, free: 15.22 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.9882, allocations: 53.75 kB / 0.9706 GB, free: 15.22 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005403/0.9937, allocations: 2.072 MB / 0.9726 GB, free: 14.72 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009472/0.9946, allocations: 422.9 kB / 0.973 GB, free: 14.46 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.9964, allocations: 0.6271 MB / 0.9736 GB, free: 14.07 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005427/1.002, allocations: 2.238 MB / 0.9758 GB, free: 12.83 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.002, allocations: 3.938 kB / 0.9758 GB, free: 12.82 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.413e-06/1.002, allocations: 0 / 0.9758 GB, free: 12.82 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.93e-05/1.002, allocations: 2.844 kB / 0.9758 GB, free: 12.82 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006368/1.008, allocations: 1.954 MB / 0.9777 GB, free: 11.39 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.008, allocations: 9.375 kB / 0.9777 GB, free: 11.39 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/1.013, allocations: 0.7042 MB / 0.9784 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/1.015, allocations: 0.8996 MB / 0.9793 GB, free: 10.38 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/1.015, allocations: 71.77 kB / 0.9794 GB, free: 10.35 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/1.015, allocations: 91.81 kB / 0.9794 GB, free: 10.32 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/1.019, allocations: 1.461 MB / 0.9809 GB, free: 9.41 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.019, allocations: 2.688 kB / 0.9809 GB, free: 9.41 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/1.019, allocations: 38.41 kB / 0.9809 GB, free: 9.383 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/1.019, allocations: 47.95 kB / 0.981 GB, free: 9.375 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004365/1.023, allocations: 1.563 MB / 0.9825 GB, free: 8.613 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.007869/1.031, allocations: 5.03 MB / 0.9874 GB, free: 4.488 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/1.035, allocations: 1.183 MB / 0.9885 GB, free: 3.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/1.037, allocations: 0.6686 MB / 0.9892 GB, free: 3.609 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/1.038, allocations: 0.9403 MB / 0.9901 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/1.04, allocations: 0.7236 MB / 0.9908 GB, free: 2.188 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 6.061e-06/1.04, allocations: 0 / 0.9908 GB, free: 2.188 MB / 0.573 GB Notification: Performance of matching and sorting (n=82): time 0.006243/1.047, allocations: 1.959 MB / 0.9927 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.047, allocations: 60.06 kB / 0.9928 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/1.049, allocations: 1.279 MB / 0.994 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/1.049, allocations: 45.7 kB / 0.9941 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/1.049, allocations: 0.57 MB / 0.9946 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/1.05, allocations: 285.5 kB / 0.9949 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/1.05, allocations: 182.5 kB / 0.9951 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.05, allocations: 345.9 kB / 0.9954 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.052, allocations: 0.5483 MB / 0.996 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.054, allocations: 0.8495 MB / 0.9968 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/1.057, allocations: 1.346 MB / 0.9981 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/1.057, allocations: 0 / 0.9981 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004131/1.061, allocations: 1.509 MB / 0.9996 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.061, allocations: 8 kB / 0.9996 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.061, allocations: 11.98 kB / 0.9996 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.061, allocations: 12 kB / 0.9996 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.063, allocations: 291.8 kB / 0.9999 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.754e-05/1.063, allocations: 19.94 kB / 0.9999 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/1.064, allocations: 219.6 kB / 1 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/1.065, allocations: 51.97 kB / 1 GB, free: 8.816 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.000574/1.065, allocations: 339.7 kB / 1 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/1.065, allocations: 138.3 kB / 1.001 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/1.069, allocations: 1.458 MB / 1.002 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.069, allocations: 12 kB / 1.002 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/1.07, allocations: 0 / 1.002 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.07, allocations: 3.984 kB / 1.002 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/1.076, allocations: 2.87 MB / 1.005 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.076, allocations: 7.938 kB / 1.005 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.077, allocations: 219.8 kB / 1.005 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/1.077, allocations: 8 kB / 1.005 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/1.077, allocations: 27.97 kB / 1.005 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/1.077, allocations: 11.94 kB / 1.005 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.077, allocations: 9.25 kB / 1.005 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.089, allocations: 5.566 MB / 1.011 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006391/1.09, allocations: 307.1 kB / 1.011 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/1.09, allocations: 31.94 kB / 1.011 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.091, allocations: 127.8 kB / 1.011 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.092, allocations: 68.36 kB / 1.011 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/1.092, allocations: 39.97 kB / 1.011 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001223/1.093, allocations: 0.8766 MB / 1.012 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/1.093, allocations: 0 / 1.012 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001453/1.094, allocations: 407.7 kB / 1.012 GB, free: 11.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001279/1.096, allocations: 0.54 MB / 1.013 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003784/1.099, allocations: 1.304 MB / 1.014 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.099, allocations: 0 / 1.014 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.101, allocations: 0.6633 MB / 1.015 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.104, allocations: 0.6094 MB / 1.015 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/1.11, allocations: 3.427 MB / 1.019 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.112, allocations: 1.201 MB / 1.02 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001749/1.113, allocations: 350.4 kB / 1.02 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/1.114, allocations: 111.4 kB / 1.02 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of SimCode: time 9.91e-07/1.114, allocations: 0 / 1.02 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of Templates: time 0.03851/1.152, allocations: 23.32 MB / 1.043 GB, free: 12.72 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)