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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004899/0.004899, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001103/0.001103, allocations: 189.7 kB / 16.67 MB, free: 5.516 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 285.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 99.84 kB / 0.6815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4329, allocations: 86.98 MB / 0.7664 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2144/0.6474, allocations: 193.8 MB / 0.9557 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4235/1.071, allocations: 5.134 MB / 0.9607 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/1.072, allocations: 46.78 kB / 0.9607 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/1.074, allocations: 0.8114 MB / 0.9615 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005988/1.08, allocations: 2.602 MB / 0.9641 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/1.083, allocations: 1.106 MB / 0.9652 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003419/1.086, allocations: 2.6 MB / 0.9677 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/1.088, allocations: 0.8914 MB / 0.9686 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/1.09, allocations: 1.106 MB / 0.9696 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/1.091, allocations: 0.9572 MB / 0.9706 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/1.091, allocations: 81.12 kB / 0.9707 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/1.094, allocations: 1.789 MB / 0.9724 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/1.095, allocations: 440.9 kB / 0.9728 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006372/1.095, allocations: 0.6497 MB / 0.9735 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002821/1.098, allocations: 2.181 MB / 0.9756 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.098, allocations: 0 / 0.9756 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/1.098, allocations: 0.9062 kB / 0.9756 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.715e-05/1.098, allocations: 0 / 0.9756 GB, free: 1.504 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004459/1.103, allocations: 1.937 MB / 0.9775 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.103, allocations: 10.75 kB / 0.9775 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/1.107, allocations: 0.6985 MB / 0.9782 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.108, allocations: 0.9553 MB / 0.9791 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/1.108, allocations: 70.45 kB / 0.9792 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.108, allocations: 87.17 kB / 0.9793 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.111, allocations: 1.47 MB / 0.9807 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.111, allocations: 6.922 kB / 0.9807 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.111, allocations: 35.09 kB / 0.9807 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/1.111, allocations: 49.91 kB / 0.9808 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/1.115, allocations: 1.558 MB / 0.9823 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.005579/1.12, allocations: 5.017 MB / 0.9872 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/1.123, allocations: 1.184 MB / 0.9884 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/1.125, allocations: 0.663 MB / 0.989 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.126, allocations: 0.9377 MB / 0.9899 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/1.128, allocations: 0.7356 MB / 0.9906 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.496e-06/1.128, allocations: 0.7812 kB / 0.9906 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005684/1.134, allocations: 1.955 MB / 0.9926 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/1.134, allocations: 62.09 kB / 0.9926 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/1.135, allocations: 1.265 MB / 0.9938 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.234e-05/1.135, allocations: 52.08 kB / 0.9939 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/1.135, allocations: 0.5684 MB / 0.9945 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/1.136, allocations: 280.5 kB / 0.9947 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/1.136, allocations: 182.9 kB / 0.9949 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.136, allocations: 346.7 kB / 0.9952 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/1.138, allocations: 0.5471 MB / 0.9958 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/1.139, allocations: 0.8214 MB / 0.9966 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/1.142, allocations: 1.338 MB / 0.9979 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.142, allocations: 3.219 kB / 0.9979 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003706/1.146, allocations: 1.52 MB / 0.9994 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.146, allocations: 7.969 kB / 0.9994 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.146, allocations: 9.344 kB / 0.9994 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.146, allocations: 14.84 kB / 0.9994 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.148, allocations: 291.1 kB / 0.9997 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.148, allocations: 16.47 kB / 0.9997 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.149, allocations: 203.4 kB / 0.9999 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/1.149, allocations: 47.84 kB / 0.9999 GB, free: 10.57 MB / 0.7325 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.0005193/1.15, allocations: 346.8 kB / 1 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/1.15, allocations: 134.2 kB / 1 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/1.153, allocations: 1.448 MB / 1.002 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.153, allocations: 6.844 kB / 1.002 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.153, allocations: 4.375 kB / 1.002 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.153, allocations: 5.531 kB / 1.002 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/1.159, allocations: 2.856 MB / 1.005 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.159, allocations: 4.312 kB / 1.005 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.16, allocations: 220.4 kB / 1.005 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/1.16, allocations: 8.594 kB / 1.005 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/1.16, allocations: 34 kB / 1.005 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/1.16, allocations: 7.375 kB / 1.005 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.16, allocations: 8.016 kB / 1.005 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/1.165, allocations: 2.308 MB / 1.007 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/1.165, allocations: 301 kB / 1.007 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/1.166, allocations: 32.67 kB / 1.007 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.167, allocations: 111.3 kB / 1.008 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.167, allocations: 64.77 kB / 1.008 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/1.167, allocations: 39.16 kB / 1.008 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009226/1.168, allocations: 0.8721 MB / 1.008 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.168, allocations: 0 / 1.008 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009038/1.169, allocations: 318.9 kB / 1.009 GB, free: 9.043 MB / 0.7325 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.001166/1.17, allocations: 0.5401 MB / 1.009 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003296/1.173, allocations: 1.311 MB / 1.011 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.173, allocations: 4.094 kB / 1.011 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.175, allocations: 0.6564 MB / 1.011 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.178, allocations: 0.6267 MB / 1.012 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/1.182, allocations: 2.562 MB / 1.014 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/1.183, allocations: 1.177 MB / 1.016 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001128/1.184, allocations: 340.2 kB / 1.016 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/1.184, allocations: 116 kB / 1.016 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/1.184, allocations: 0 / 1.016 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of Templates: time 0.03742/1.222, allocations: 23.3 MB / 1.039 GB, free: 5.883 MB / 0.7481 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)