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.001254/0.001254, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001201/0.001201, allocations: 184 kB / 17.34 MB, free: 5.738 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 291.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 96.28 kB / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4299, allocations: 86.97 MB / 0.7671 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.233/0.6628, allocations: 194.3 MB / 0.9569 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4187/1.082, allocations: 5.14 MB / 0.9619 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/1.083, allocations: 50.59 kB / 0.962 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/1.085, allocations: 0.8299 MB / 0.9628 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006215/1.091, allocations: 2.694 MB / 0.9654 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/1.094, allocations: 1.114 MB / 0.9665 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003406/1.097, allocations: 2.607 MB / 0.969 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/1.098, allocations: 0.761 MB / 0.9698 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/1.1, allocations: 1.123 MB / 0.9709 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/1.101, allocations: 0.9525 MB / 0.9718 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/1.101, allocations: 81.59 kB / 0.9719 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/1.104, allocations: 1.798 MB / 0.9736 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003794/1.105, allocations: 448.3 kB / 0.9741 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006154/1.105, allocations: 0.6557 MB / 0.9747 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/1.108, allocations: 2.19 MB / 0.9768 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.108, allocations: 0 / 0.9768 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.522e-06/1.108, allocations: 1.938 kB / 0.9768 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.108, allocations: 0 / 0.9768 GB, free: 1.473 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.004723/1.113, allocations: 1.979 MB / 0.9788 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/1.113, allocations: 11.69 kB / 0.9788 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/1.117, allocations: 0.7151 MB / 0.9795 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/1.119, allocations: 0.9645 MB / 0.9804 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/1.119, allocations: 68.61 kB / 0.9805 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/1.119, allocations: 85.97 kB / 0.9806 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/1.122, allocations: 1.467 MB / 0.982 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.122, allocations: 6.719 kB / 0.982 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.122, allocations: 34.53 kB / 0.982 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/1.122, allocations: 49.39 kB / 0.9821 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/1.126, allocations: 1.558 MB / 0.9836 GB, free: 15.8 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.00672/1.132, allocations: 5.031 MB / 0.9885 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/1.136, allocations: 1.134 MB / 0.9896 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/1.137, allocations: 0.6392 MB / 0.9903 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.139, allocations: 0.9402 MB / 0.9912 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/1.14, allocations: 0.7205 MB / 0.9919 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/1.14, allocations: 0.8125 kB / 0.9919 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005861/1.146, allocations: 1.963 MB / 0.9938 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.146, allocations: 61.47 kB / 0.9939 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/1.148, allocations: 1.27 MB / 0.9951 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.148, allocations: 43.86 kB / 0.9951 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/1.149, allocations: 0.5723 MB / 0.9957 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/1.149, allocations: 297.2 kB / 0.996 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/1.149, allocations: 183 kB / 0.9962 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.149, allocations: 345.5 kB / 0.9965 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.151, allocations: 0.5455 MB / 0.997 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/1.153, allocations: 0.8208 MB / 0.9978 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/1.156, allocations: 1.343 MB / 0.9991 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.156, allocations: 2.625 kB / 0.9991 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00378/1.16, allocations: 1.526 MB / 1.001 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.16, allocations: 9.719 kB / 1.001 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.16, allocations: 7.969 kB / 1.001 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/1.16, allocations: 10.19 kB / 1.001 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.161, allocations: 299 kB / 1.001 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/1.161, allocations: 13.97 kB / 1.001 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.163, allocations: 203.9 kB / 1.001 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/1.163, allocations: 49.05 kB / 1.001 GB, free: 10.44 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.0005739/1.163, allocations: 346.8 kB / 1.002 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/1.163, allocations: 141.2 kB / 1.002 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/1.167, allocations: 1.45 MB / 1.003 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/1.167, allocations: 8.312 kB / 1.003 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.167, allocations: 3.188 kB / 1.003 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.167, allocations: 2.531 kB / 1.003 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005576/1.173, allocations: 2.857 MB / 1.006 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.173, allocations: 3.438 kB / 1.006 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.174, allocations: 220.8 kB / 1.006 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/1.174, allocations: 9.594 kB / 1.006 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/1.174, allocations: 31.66 kB / 1.006 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.174, allocations: 13.34 kB / 1.006 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.174, allocations: 6.562 kB / 1.006 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/1.18, allocations: 2.322 MB / 1.008 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/1.18, allocations: 312.4 kB / 1.009 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/1.18, allocations: 20.56 kB / 1.009 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.181, allocations: 108.2 kB / 1.009 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.182, allocations: 68.75 kB / 1.009 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.29e-05/1.182, allocations: 36.98 kB / 1.009 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009694/1.183, allocations: 0.874 MB / 1.01 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.183, allocations: 0 / 1.01 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001026/1.184, allocations: 322.5 kB / 1.01 GB, free: 8.891 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.00177/1.185, allocations: 0.5293 MB / 1.011 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003599/1.189, allocations: 1.281 MB / 1.012 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.189, allocations: 0 / 1.012 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.191, allocations: 0.6382 MB / 1.012 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.194, allocations: 0.6237 MB / 1.013 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/1.199, allocations: 2.608 MB / 1.016 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/1.2, allocations: 1.17 MB / 1.017 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001245/1.201, allocations: 350.5 kB / 1.017 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/1.201, allocations: 114.9 kB / 1.017 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/1.201, allocations: 0 / 1.017 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of Templates: time 0.04012/1.241, allocations: 23.41 MB / 1.04 GB, free: 5.945 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)