Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.6 kB / 16.35 MB, free: 5.879 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.001085/0.001085, allocations: 192.4 kB / 17.29 MB, free: 5.516 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001447/0.001447, allocations: 71.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2008, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5205/0.7213, allocations: 193.8 MB / 0.9741 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008132/0.7295, allocations: 4.993 MB / 0.9789 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009822/0.7305, allocations: 47.69 kB / 0.979 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.7323, allocations: 0.8125 MB / 0.9798 GB, free: 2.258 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.005639/0.7379, allocations: 2.575 MB / 0.9823 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.7405, allocations: 1.104 MB / 0.9834 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.7435, allocations: 2.594 MB / 0.9859 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.7448, allocations: 0.9077 MB / 0.9868 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.7466, allocations: 1.097 MB / 0.9879 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.7478, allocations: 0.9456 MB / 0.9888 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.7479, allocations: 76 kB / 0.9889 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.7512, allocations: 1.785 MB / 0.9906 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.7517, allocations: 434.6 kB / 0.991 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007079/0.7524, allocations: 0.6526 MB / 0.9917 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.7556, allocations: 2.177 MB / 0.9938 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7556, allocations: 8 kB / 0.9938 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7556, allocations: 0 / 0.9938 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.7556, allocations: 0 / 0.9938 GB, free: 3.867 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005026/0.7607, allocations: 1.945 MB / 0.9957 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7607, allocations: 12.03 kB / 0.9957 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.7648, allocations: 0.6576 MB / 0.9963 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.7663, allocations: 0.8904 MB / 0.9972 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.7664, allocations: 74 kB / 0.9973 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.7665, allocations: 88 kB / 0.9974 GB, free: 96 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.7697, allocations: 1.47 MB / 0.9988 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.7697, allocations: 4 kB / 0.9988 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.7699, allocations: 39.98 kB / 0.9989 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/0.7699, allocations: 49.98 kB / 0.9989 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.774, allocations: 1.518 MB / 1 GB, free: 12.94 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.007102/0.7811, allocations: 5.483 MB / 1.006 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/0.7848, allocations: 1.281 MB / 1.007 GB, free: 5.887 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.7864, allocations: 0.6697 MB / 1.008 GB, free: 5.215 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008441/0.7873, allocations: 0.5851 MB / 1.008 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.7891, allocations: 0.7145 MB / 1.009 GB, free: 3.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=80): time 3.436e-06/0.7891, allocations: 0 / 1.009 GB, free: 3.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=80): time 0.005389/0.7945, allocations: 1.866 MB / 1.011 GB, free: 1.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.7946, allocations: 64 kB / 1.011 GB, free: 1.84 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.7959, allocations: 1.259 MB / 1.012 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/0.796, allocations: 41.7 kB / 1.012 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.7964, allocations: 0.5831 MB / 1.013 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.7967, allocations: 280.1 kB / 1.013 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.797, allocations: 190.5 kB / 1.013 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7971, allocations: 338 kB / 1.013 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.7987, allocations: 0.5327 MB / 1.014 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.8004, allocations: 0.8443 MB / 1.015 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.8036, allocations: 1.324 MB / 1.016 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.8036, allocations: 0.6875 kB / 1.016 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003763/0.8074, allocations: 1.499 MB / 1.018 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.8074, allocations: 8 kB / 1.018 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.8074, allocations: 12.78 kB / 1.018 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.8075, allocations: 12 kB / 1.018 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.809, allocations: 303.5 kB / 1.018 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.809, allocations: 15.98 kB / 1.018 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.8103, allocations: 200.1 kB / 1.018 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/0.8104, allocations: 47.97 kB / 1.018 GB, free: 10.12 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005082/0.8109, allocations: 346.2 kB / 1.018 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.8111, allocations: 138.2 kB / 1.019 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.8148, allocations: 1.408 MB / 1.02 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.8149, allocations: 8 kB / 1.02 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8149, allocations: 0.5625 kB / 1.02 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.8149, allocations: 3.984 kB / 1.02 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/0.8206, allocations: 2.8 MB / 1.023 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8206, allocations: 4 kB / 1.023 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.8219, allocations: 215.7 kB / 1.023 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.8219, allocations: 11.98 kB / 1.023 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.822, allocations: 24.55 kB / 1.023 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.822, allocations: 11.98 kB / 1.023 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.822, allocations: 11.94 kB / 1.023 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.8275, allocations: 2.256 MB / 1.025 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.8281, allocations: 295.2 kB / 1.025 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.8283, allocations: 23.98 kB / 1.025 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.8294, allocations: 108.5 kB / 1.026 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.8295, allocations: 75.67 kB / 1.026 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.8296, allocations: 35.97 kB / 1.026 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001018/0.8307, allocations: 0.8526 MB / 1.026 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8307, allocations: 0 / 1.026 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009882/0.8317, allocations: 327.5 kB / 1.027 GB, free: 0.9922 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * 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.001231/0.8329, allocations: 0.5281 MB / 1.027 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003526/0.8364, allocations: 1.286 MB / 1.029 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8364, allocations: 8.25 kB / 1.029 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.8382, allocations: 0.6324 MB / 1.029 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.8407, allocations: 0.6169 MB / 1.03 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/0.8456, allocations: 2.573 MB / 1.032 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.8463, allocations: 1.179 MB / 1.033 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001134/0.8475, allocations: 338.7 kB / 1.034 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.8478, allocations: 115.4 kB / 1.034 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of SimCode: time 1.844e-06/0.8478, allocations: 4 kB / 1.034 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.03396/0.8818, allocations: 22.69 MB / 1.056 GB, free: 3.609 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)