Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5615/0.5615, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 349.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 99.64 kB / 420 MB, free: 8.52 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3461, allocations: 70.06 MB / 0.5575 GB, free: 44.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.553/0.8991, allocations: 191.5 MB / 0.7445 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008806/0.908, allocations: 5.183 MB / 0.7496 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.9096, allocations: 44.56 kB / 0.7496 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.9116, allocations: 0.716 MB / 0.7503 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006431/0.918, allocations: 2.448 MB / 0.7527 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.9206, allocations: 1.002 MB / 0.7537 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003806/0.9244, allocations: 3.562 MB / 0.7572 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.9257, allocations: 0.8157 MB / 0.758 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.9279, allocations: 1.014 MB / 0.759 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.9295, allocations: 0.9908 MB / 0.7599 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.9297, allocations: 54.31 kB / 0.76 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004496/0.9342, allocations: 2.068 MB / 0.762 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005404/0.9348, allocations: 406.4 kB / 0.7624 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.9357, allocations: 0.6179 MB / 0.763 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003862/0.9395, allocations: 2.211 MB / 0.7652 GB, free: 200 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9396, allocations: 3.375 kB / 0.7652 GB, free: 200 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9396, allocations: 0 / 0.7652 GB, free: 200 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.9396, allocations: 0 / 0.7652 GB, free: 200 kB / 0.5105 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.004984/0.9446, allocations: 1.935 MB / 0.7671 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.9446, allocations: 10.78 kB / 0.7671 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.9484, allocations: 0.661 MB / 0.7677 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.9499, allocations: 0.8722 MB / 0.7686 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.95, allocations: 69.42 kB / 0.7686 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.9502, allocations: 89.09 kB / 0.7687 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.953, allocations: 1.473 MB / 0.7702 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.9531, allocations: 5.281 kB / 0.7702 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.9532, allocations: 39.83 kB / 0.7702 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/0.9532, allocations: 44.81 kB / 0.7702 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003882/0.9571, allocations: 1.521 MB / 0.7717 GB, free: 14.41 MB / 0.5261 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.007094/0.9642, allocations: 5.484 MB / 0.7771 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.9678, allocations: 1.289 MB / 0.7783 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.9694, allocations: 0.6595 MB / 0.779 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008327/0.9703, allocations: 0.5824 MB / 0.7796 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.9721, allocations: 0.7051 MB / 0.7802 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 3.066e-06/0.9721, allocations: 4.906 kB / 0.7803 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80): time 0.005467/0.9776, allocations: 1.875 MB / 0.7821 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.9776, allocations: 60.72 kB / 0.7821 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.9791, allocations: 1.234 MB / 0.7833 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.9791, allocations: 43.61 kB / 0.7834 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.9796, allocations: 0.5833 MB / 0.784 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.9799, allocations: 272.7 kB / 0.7842 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.9801, allocations: 184.5 kB / 0.7844 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9803, allocations: 354.6 kB / 0.7847 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.9819, allocations: 0.529 MB / 0.7852 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.9838, allocations: 0.8273 MB / 0.7861 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.987, allocations: 1.319 MB / 0.7873 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.987, allocations: 4 kB / 0.7873 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003837/0.9909, allocations: 1.494 MB / 0.7888 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9909, allocations: 8.875 kB / 0.7888 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9909, allocations: 4 kB / 0.7888 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.991, allocations: 20 kB / 0.7888 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.9924, allocations: 290.4 kB / 0.7891 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/0.9924, allocations: 18.98 kB / 0.7891 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.9938, allocations: 221.5 kB / 0.7893 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.994, allocations: 55.97 kB / 0.7894 GB, free: 2.527 MB / 0.5261 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.0005578/0.9945, allocations: 338.6 kB / 0.7897 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.9947, allocations: 142.2 kB / 0.7899 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.9985, allocations: 1.406 MB / 0.7912 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.9985, allocations: 12.09 kB / 0.7912 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.9985, allocations: 7.922 kB / 0.7912 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.9985, allocations: 7.922 kB / 0.7913 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/1.004, allocations: 2.801 MB / 0.794 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.004, allocations: 4.5 kB / 0.794 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.006, allocations: 225.8 kB / 0.7942 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/1.006, allocations: 8 kB / 0.7942 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.324e-05/1.006, allocations: 31.97 kB / 0.7942 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.006, allocations: 6.906 kB / 0.7943 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.006, allocations: 4 kB / 0.7943 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.017, allocations: 5.46 MB / 0.7996 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/1.017, allocations: 303.2 kB / 0.7999 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.017, allocations: 20 kB / 0.7999 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.018, allocations: 126.4 kB / 0.8 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.019, allocations: 67.42 kB / 0.8001 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/1.019, allocations: 35.97 kB / 0.8001 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001024/1.02, allocations: 0.8561 MB / 0.801 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/1.02, allocations: 0 / 0.801 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001257/1.021, allocations: 411.5 kB / 0.8013 GB, free: 5.973 MB / 0.5417 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.001195/1.022, allocations: 0.531 MB / 0.8019 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003599/1.026, allocations: 1.282 MB / 0.8031 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.026, allocations: 0 / 0.8031 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/1.027, allocations: 0.6402 MB / 0.8037 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.031, allocations: 0.5592 MB / 0.8043 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/1.036, allocations: 3.418 MB / 0.8076 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/1.037, allocations: 1.201 MB / 0.8088 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001434/1.038, allocations: 349.9 kB / 0.8091 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/1.039, allocations: 107.4 kB / 0.8092 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/1.039, allocations: 2.906 kB / 0.8092 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.03774/1.077, allocations: 21.9 MB / 0.8306 GB, free: 8.418 MB / 0.573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)