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.001218/0.001218, allocations: 109.1 kB / 16.41 MB, free: 6.477 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.001209/0.001209, allocations: 193.4 kB / 17.34 MB, free: 5.754 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.271/1.271, allocations: 222.9 MB / 241 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.002076/0.002076, allocations: 294.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8953/0.8953, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 103.8 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4085, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1775/0.5861, allocations: 193.8 MB / 0.9564 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4032/0.9894, allocations: 5.124 MB / 0.9614 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.9907, allocations: 46.28 kB / 0.9614 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.9926, allocations: 0.8125 MB / 0.9622 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00627/0.9989, allocations: 2.601 MB / 0.9647 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/1.002, allocations: 1.112 MB / 0.9658 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003628/1.005, allocations: 2.602 MB / 0.9684 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/1.007, allocations: 0.8937 MB / 0.9692 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/1.009, allocations: 1.079 MB / 0.9703 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/1.011, allocations: 0.9614 MB / 0.9712 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001844/1.011, allocations: 79.28 kB / 0.9713 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/1.014, allocations: 1.788 MB / 0.973 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004793/1.015, allocations: 442.1 kB / 0.9735 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008397/1.015, allocations: 0.6492 MB / 0.9741 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/1.019, allocations: 2.18 MB / 0.9762 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.019, allocations: 1.062 kB / 0.9762 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/1.019, allocations: 0 / 0.9762 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.019, allocations: 0 / 0.9762 GB, free: 1.48 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.004453/1.023, allocations: 1.934 MB / 0.9781 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/1.023, allocations: 10.81 kB / 0.9781 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003934/1.027, allocations: 0.699 MB / 0.9788 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.029, allocations: 0.9541 MB / 0.9797 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/1.029, allocations: 67.97 kB / 0.9798 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/1.029, allocations: 90.8 kB / 0.9799 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/1.032, allocations: 1.465 MB / 0.9813 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.032, allocations: 2.812 kB / 0.9813 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/1.032, allocations: 39.38 kB / 0.9814 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/1.032, allocations: 49.86 kB / 0.9814 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/1.035, allocations: 1.56 MB / 0.9829 GB, free: 15.88 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.005675/1.041, allocations: 5.009 MB / 0.9878 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/1.044, allocations: 1.178 MB / 0.989 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/1.046, allocations: 0.6662 MB / 0.9896 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/1.047, allocations: 0.9412 MB / 0.9906 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/1.049, allocations: 0.7314 MB / 0.9913 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.868e-06/1.049, allocations: 0 / 0.9913 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005249/1.054, allocations: 1.957 MB / 0.9932 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.054, allocations: 60.25 kB / 0.9932 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.055, allocations: 1.265 MB / 0.9945 GB, free: 12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/1.055, allocations: 42.27 kB / 0.9945 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/1.056, allocations: 0.5764 MB / 0.9951 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.056, allocations: 275.9 kB / 0.9953 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/1.056, allocations: 186.3 kB / 0.9955 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.056, allocations: 343.8 kB / 0.9958 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.058, allocations: 0.5509 MB / 0.9964 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/1.059, allocations: 0.8247 MB / 0.9972 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/1.062, allocations: 1.347 MB / 0.9985 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.062, allocations: 0 / 0.9985 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003531/1.066, allocations: 1.519 MB / 1 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.066, allocations: 6.875 kB / 1 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.066, allocations: 6.375 kB / 1 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.066, allocations: 10.75 kB / 1 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.067, allocations: 292.6 kB / 1 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/1.067, allocations: 15.75 kB / 1 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.068, allocations: 201.7 kB / 1 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/1.068, allocations: 51.47 kB / 1.001 GB, free: 10.55 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.0005084/1.069, allocations: 348.3 kB / 1.001 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/1.069, allocations: 135.5 kB / 1.001 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/1.073, allocations: 1.451 MB / 1.002 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.073, allocations: 6.969 kB / 1.002 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.073, allocations: 0 / 1.002 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.073, allocations: 2.906 kB / 1.002 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/1.078, allocations: 2.859 MB / 1.005 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.078, allocations: 2.75 kB / 1.005 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.079, allocations: 233.9 kB / 1.005 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.079, allocations: 5.125 kB / 1.005 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/1.079, allocations: 31.84 kB / 1.005 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/1.079, allocations: 8.062 kB / 1.005 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.079, allocations: 5.25 kB / 1.005 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004866/1.084, allocations: 2.308 MB / 1.008 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/1.084, allocations: 303.2 kB / 1.008 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/1.085, allocations: 25.61 kB / 1.008 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.086, allocations: 112 kB / 1.008 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.086, allocations: 66.78 kB / 1.008 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/1.086, allocations: 33.28 kB / 1.008 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009203/1.087, allocations: 0.8758 MB / 1.009 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.087, allocations: 0 / 1.009 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009102/1.088, allocations: 315.5 kB / 1.009 GB, free: 9.02 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.001148/1.089, allocations: 0.5392 MB / 1.01 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003161/1.092, allocations: 1.316 MB / 1.011 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.092, allocations: 0 / 1.011 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/1.094, allocations: 0.6541 MB / 1.012 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/1.096, allocations: 0.6305 MB / 1.012 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/1.101, allocations: 2.624 MB / 1.015 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/1.101, allocations: 1.17 MB / 1.016 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/1.102, allocations: 125.2 kB / 1.016 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.102, allocations: 0 / 1.016 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.02839/1.13, allocations: 20.91 MB / 1.037 GB, free: 8.508 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)