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.001227/0.001227, allocations: 95 kB / 15.05 MB, free: 1.109 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.001192/0.001192, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.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.682/1.682, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005605/0.0005607, allocations: 20.75 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2551, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6736/0.9287, allocations: 160.8 MB / 0.9441 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008475/0.9372, allocations: 4.912 MB / 0.9489 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.9388, allocations: 42.42 kB / 0.949 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.9409, allocations: 0.779 MB / 0.9497 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.9472, allocations: 1.749 MB / 0.9514 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.9516, allocations: 1.184 MB / 0.9526 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.9551, allocations: 1.629 MB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.9564, allocations: 0.751 MB / 0.9549 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.9586, allocations: 0.9664 MB / 0.9559 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.9597, allocations: 0.676 MB / 0.9565 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.9598, allocations: 45.31 kB / 0.9566 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.9622, allocations: 0.7456 MB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.9626, allocations: 372.7 kB / 0.9576 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.9633, allocations: 272.3 kB / 0.9579 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.9648, allocations: 1.218 MB / 0.9591 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9648, allocations: 0 / 0.9591 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9648, allocations: 0.875 kB / 0.9591 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.9649, allocations: 0 / 0.9591 GB, free: 21.01 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.004825/0.9697, allocations: 1.673 MB / 0.9607 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9698, allocations: 9.719 kB / 0.9607 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/0.9738, allocations: 0.7057 MB / 0.9614 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.9757, allocations: 0.8434 MB / 0.9622 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.9758, allocations: 73.09 kB / 0.9623 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.976, allocations: 91.81 kB / 0.9624 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.9789, allocations: 1.473 MB / 0.9638 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.9789, allocations: 3.234 kB / 0.9638 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.979, allocations: 41.2 kB / 0.9639 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.629e-05/0.9791, allocations: 49.56 kB / 0.9639 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003834/0.983, allocations: 1.537 MB / 0.9654 GB, free: 19.38 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.00754/0.9905, allocations: 5.142 MB / 0.9705 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.994, allocations: 1.317 MB / 0.9717 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/0.9945, allocations: 167 kB / 0.9719 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/0.9962, allocations: 0.7068 MB / 0.9726 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/0.9963, allocations: 1.906 kB / 0.9726 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.005332/1.002, allocations: 1.917 MB / 0.9745 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.002, allocations: 60.19 kB / 0.9745 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.003, allocations: 1.24 MB / 0.9757 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.003, allocations: 44.95 kB / 0.9758 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/1.004, allocations: 0.5866 MB / 0.9763 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/1.004, allocations: 277.9 kB / 0.9766 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/1.004, allocations: 22.94 kB / 0.9766 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.004, allocations: 340.3 kB / 0.977 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/1.005, allocations: 0.545 MB / 0.9775 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.007, allocations: 0.8459 MB / 0.9783 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/1.008, allocations: 0.5979 MB / 0.9789 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.008, allocations: 3.094 kB / 0.9789 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003486/1.012, allocations: 1.513 MB / 0.9804 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.012, allocations: 8.469 kB / 0.9804 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.012, allocations: 9.406 kB / 0.9804 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.012, allocations: 17.77 kB / 0.9804 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.013, allocations: 302.7 kB / 0.9807 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.013, allocations: 13.41 kB / 0.9807 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.015, allocations: 234 kB / 0.9809 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/1.015, allocations: 51.97 kB / 0.981 GB, free: 13.21 MB / 0.7325 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 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005515/1.016, allocations: 341.6 kB / 0.9813 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/1.016, allocations: 137.1 kB / 0.9814 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/1.019, allocations: 1.432 MB / 0.9828 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/1.019, allocations: 8.719 kB / 0.9829 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.019, allocations: 0 / 0.9829 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/1.019, allocations: 3.984 kB / 0.9829 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/1.025, allocations: 2.822 MB / 0.9856 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.025, allocations: 6.094 kB / 0.9856 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.026, allocations: 229.8 kB / 0.9858 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.026, allocations: 12.03 kB / 0.9858 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/1.026, allocations: 27.45 kB / 0.9859 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/1.026, allocations: 12.33 kB / 0.9859 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.026, allocations: 5.594 kB / 0.9859 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/1.031, allocations: 2.499 MB / 0.9883 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/1.032, allocations: 306.8 kB / 0.9886 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/1.032, allocations: 22.17 kB / 0.9886 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.034, allocations: 143.8 kB / 0.9888 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.034, allocations: 52.81 kB / 0.9888 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/1.034, allocations: 44.56 kB / 0.9889 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001146/1.035, allocations: 0.8507 MB / 0.9897 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4e-07/1.035, allocations: 0 / 0.9897 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001267/1.036, allocations: 327.2 kB / 0.99 GB, free: 9.832 MB / 0.7325 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/1.038, allocations: 0.5193 MB / 0.9905 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003687/1.041, allocations: 1.295 MB / 0.9918 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.041, allocations: 0 / 0.9918 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/1.043, allocations: 0.652 MB / 0.9924 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.046, allocations: 0.5798 MB / 0.993 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/1.052, allocations: 2.937 MB / 0.9959 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009443/1.053, allocations: 1.197 MB / 0.997 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001655/1.055, allocations: 346 kB / 0.9974 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/1.055, allocations: 113.2 kB / 0.9975 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of SimCode: time 1.242e-06/1.055, allocations: 0 / 0.9975 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of Templates: time 0.03786/1.093, allocations: 20.95 MB / 1.018 GB, free: 5.48 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: