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.009335/0.009334, allocations: 99.34 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.001578/0.001578, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 278.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9505/0.9505, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.00171, allocations: 91.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1749, allocations: 86.98 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5496/0.7245, allocations: 193.8 MB / 0.9557 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008823/0.7334, allocations: 5.149 MB / 0.9607 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.7349, allocations: 47.69 kB / 0.9608 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.737, allocations: 0.8197 MB / 0.9616 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.7431, allocations: 2.594 MB / 0.9641 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.7459, allocations: 1.106 MB / 0.9652 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00346/0.7494, allocations: 2.609 MB / 0.9677 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.751, allocations: 0.8806 MB / 0.9686 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.7532, allocations: 1.094 MB / 0.9696 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.7549, allocations: 0.9534 MB / 0.9706 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.7553, allocations: 80 kB / 0.9707 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003704/0.759, allocations: 1.789 MB / 0.9724 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006305/0.7596, allocations: 438.6 kB / 0.9728 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.7608, allocations: 0.6455 MB / 0.9735 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.765, allocations: 2.194 MB / 0.9756 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.765, allocations: 4 kB / 0.9756 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.492e-06/0.765, allocations: 4 kB / 0.9756 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.66e-05/0.7651, allocations: 0 / 0.9756 GB, free: 12.44 MB / 0.7325 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.005462/0.7706, allocations: 1.971 MB / 0.9775 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.7706, allocations: 15.97 kB / 0.9775 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.775, allocations: 0.7091 MB / 0.9782 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.7768, allocations: 0.9655 MB / 0.9792 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.7769, allocations: 71.44 kB / 0.9792 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.7771, allocations: 87.98 kB / 0.9793 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/0.7805, allocations: 1.465 MB / 0.9808 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.7805, allocations: 7.984 kB / 0.9808 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.7806, allocations: 36 kB / 0.9808 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.7807, allocations: 49.97 kB / 0.9808 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.7849, allocations: 1.561 MB / 0.9824 GB, free: 5.328 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.007064/0.792, allocations: 5.023 MB / 0.9873 GB, free: 44 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/0.7954, allocations: 1.186 MB / 0.9884 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.7971, allocations: 0.6629 MB / 0.9891 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.7985, allocations: 0.941 MB / 0.99 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/0.8005, allocations: 0.7302 MB / 0.9907 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 4.438e-06/0.8005, allocations: 0 / 0.9907 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.006028/0.8066, allocations: 1.957 MB / 0.9926 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.8066, allocations: 60.06 kB / 0.9927 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.8082, allocations: 1.272 MB / 0.9939 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.8083, allocations: 41.7 kB / 0.994 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.8088, allocations: 0.5763 MB / 0.9945 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.8091, allocations: 301.5 kB / 0.9948 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.8094, allocations: 178.6 kB / 0.995 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8095, allocations: 345.9 kB / 0.9953 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.8111, allocations: 0.5561 MB / 0.9959 GB, free: 7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.813, allocations: 0.813 MB / 0.9967 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/0.8165, allocations: 1.344 MB / 0.998 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.8165, allocations: 6.188 kB / 0.998 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004128/0.8206, allocations: 1.523 MB / 0.9995 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.8207, allocations: 8.906 kB / 0.9995 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.8207, allocations: 7.938 kB / 0.9995 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/0.8207, allocations: 15.98 kB / 0.9995 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.8221, allocations: 291.6 kB / 0.9998 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/0.8222, allocations: 15.94 kB / 0.9998 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.8236, allocations: 207 kB / 1 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.8238, allocations: 54.7 kB / 1 GB, free: 2.523 MB / 0.7481 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.0006235/0.8244, allocations: 340.3 kB / 1 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/0.8247, allocations: 143.1 kB / 1 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.8289, allocations: 1.444 MB / 1.002 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.8289, allocations: 8 kB / 1.002 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8289, allocations: 3.062 kB / 1.002 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.8289, allocations: 7.969 kB / 1.002 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/0.8352, allocations: 2.862 MB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.8352, allocations: 4 kB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.8365, allocations: 219.9 kB / 1.005 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.8366, allocations: 8 kB / 1.005 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/0.8367, allocations: 31.97 kB / 1.005 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.8367, allocations: 11.94 kB / 1.005 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8367, allocations: 7.984 kB / 1.005 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/0.8425, allocations: 2.307 MB / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/0.8434, allocations: 311.9 kB / 1.008 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/0.8437, allocations: 27.98 kB / 1.008 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.8451, allocations: 111.8 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.8453, allocations: 68.42 kB / 1.008 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.916e-05/0.8454, allocations: 35.97 kB / 1.008 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001412/0.8468, allocations: 0.8723 MB / 1.009 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8468, allocations: 0 / 1.009 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001226/0.8481, allocations: 319.7 kB / 1.009 GB, free: 9.211 MB / 0.7637 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.001373/0.8494, allocations: 0.5379 MB / 1.009 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003811/0.8533, allocations: 1.32 MB / 1.011 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.8533, allocations: 0 / 1.011 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.8552, allocations: 0.6599 MB / 1.011 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.8582, allocations: 0.6214 MB / 1.012 GB, free: 6.25 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.8636, allocations: 2.602 MB / 1.015 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.8645, allocations: 1.175 MB / 1.016 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001254/0.8658, allocations: 342.2 kB / 1.016 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.8662, allocations: 111.4 kB / 1.016 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/0.8662, allocations: 4 kB / 1.016 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of Templates: time 0.03875/0.905, allocations: 23.31 MB / 1.039 GB, free: 10.97 MB / 0.795 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)