Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 109.6 kB / 16.38 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.001744/0.001744, allocations: 187.4 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 68.12 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1896, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.506/0.6957, allocations: 193.8 MB / 0.9741 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008177/0.7039, allocations: 4.994 MB / 0.979 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.7051, allocations: 55.56 kB / 0.979 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.7069, allocations: 0.8081 MB / 0.9798 GB, free: 2.223 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005662/0.7126, allocations: 2.579 MB / 0.9823 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.7151, allocations: 1.109 MB / 0.9834 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002918/0.718, allocations: 2.656 MB / 0.986 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.7192, allocations: 0.9523 MB / 0.9869 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.721, allocations: 1.121 MB / 0.988 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.7221, allocations: 0.989 MB / 0.989 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.7223, allocations: 92 kB / 0.9891 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.7253, allocations: 1.785 MB / 0.9908 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.7258, allocations: 454.6 kB / 0.9913 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006237/0.7264, allocations: 0.6764 MB / 0.9919 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.7292, allocations: 2.231 MB / 0.9941 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7292, allocations: 0.5625 kB / 0.9941 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7292, allocations: 0 / 0.9941 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.7292, allocations: 0 / 0.9941 GB, free: 3.543 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00477/0.734, allocations: 1.983 MB / 0.996 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.734, allocations: 8.031 kB / 0.996 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/0.7396, allocations: 0.8954 MB / 0.9969 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.7413, allocations: 0.9924 MB / 0.9979 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.7413, allocations: 69.56 kB / 0.998 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.7415, allocations: 95.98 kB / 0.998 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/0.7453, allocations: 1.583 MB / 0.9996 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.7453, allocations: 0 / 0.9996 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.7454, allocations: 35.98 kB / 0.9996 GB, free: 13.74 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.7455, allocations: 51.11 kB / 0.9997 GB, free: 13.69 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00534/0.7509, allocations: 1.85 MB / 1.001 GB, free: 11.84 MB / 0.795 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.007198/0.7581, allocations: 4.737 MB / 1.006 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.7626, allocations: 1.56 MB / 1.008 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/0.765, allocations: 0.8604 MB / 1.008 GB, free: 4.449 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.7662, allocations: 0.9491 MB / 1.009 GB, free: 3.316 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002542/0.7688, allocations: 0.9026 MB / 1.01 GB, free: 2.395 MB / 0.795 GB Notification: Performance of pre-optimization done (n=95): time 3.407e-06/0.7688, allocations: 4 kB / 1.01 GB, free: 2.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=95): time 0.007929/0.7768, allocations: 2.462 MB / 1.013 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.7768, allocations: 60.41 kB / 1.013 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.7782, allocations: 1.206 MB / 1.014 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.7783, allocations: 45.64 kB / 1.014 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.7787, allocations: 0.5565 MB / 1.015 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.779, allocations: 323.4 kB / 1.015 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.7793, allocations: 198.5 kB / 1.015 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7795, allocations: 341.9 kB / 1.015 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.7818, allocations: 0.6927 MB / 1.016 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.7842, allocations: 0.9373 MB / 1.017 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004454/0.7887, allocations: 1.546 MB / 1.018 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.7887, allocations: 8 kB / 1.018 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005164/0.7939, allocations: 1.78 MB / 1.02 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7939, allocations: 9.219 kB / 1.02 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7939, allocations: 8 kB / 1.02 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.7939, allocations: 8 kB / 1.02 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.7957, allocations: 339.5 kB / 1.021 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.7958, allocations: 15.92 kB / 1.021 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.7974, allocations: 238.7 kB / 1.021 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.7975, allocations: 47.97 kB / 1.021 GB, free: 7.406 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005437/0.7981, allocations: 331.8 kB / 1.021 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.7983, allocations: 146.2 kB / 1.021 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.8036, allocations: 1.8 MB / 1.023 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.8036, allocations: 4.609 kB / 1.023 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8036, allocations: 4 kB / 1.023 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004933/0.8041, allocations: 319.1 kB / 1.023 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.8043, allocations: 19.98 kB / 1.023 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.8056, allocations: 154.4 kB / 1.024 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.8058, allocations: 56.92 kB / 1.024 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006087/0.8119, allocations: 1.863 MB / 1.025 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007392/0.8193, allocations: 2.812 MB / 1.028 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002228/0.8215, allocations: 0.7767 MB / 1.029 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009693/0.8225, allocations: 0.8435 MB / 1.03 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of Backend: time 3.7e-07/0.8225, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005032/0.8276, allocations: 1.714 MB / 1.031 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of SimCode: time 0.004543/0.8321, allocations: 3.06 MB / 1.034 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.04224/0.8744, allocations: 29.99 MB / 1.064 GB, free: 12.02 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)