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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 115.4 kB / 17.04 MB, free: 6.133 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.00102/0.00102, allocations: 200.1 kB / 17.98 MB, free: 5.23 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 115.3 MB / 407.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 69.25 kB / 0.5582 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1522, allocations: 76.17 MB / 0.6326 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6248/0.777, allocations: 193.8 MB / 0.8219 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009137/0.7861, allocations: 5.144 MB / 0.8269 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.7879, allocations: 50.97 kB / 0.827 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.79, allocations: 0.807 MB / 0.8277 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007174/0.7972, allocations: 2.599 MB / 0.8303 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.8005, allocations: 1.111 MB / 0.8314 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004028/0.8046, allocations: 2.613 MB / 0.8339 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.806, allocations: 0.8915 MB / 0.8348 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.8083, allocations: 1.082 MB / 0.8359 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.8098, allocations: 0.9449 MB / 0.8368 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.81, allocations: 78.03 kB / 0.8368 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.8136, allocations: 1.785 MB / 0.8386 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.8141, allocations: 432.3 kB / 0.839 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008425/0.8149, allocations: 0.6435 MB / 0.8396 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.8193, allocations: 2.155 MB / 0.8417 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.8194, allocations: 4 kB / 0.8417 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8194, allocations: 0 / 0.8417 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.923e-05/0.8194, allocations: 0 / 0.8417 GB, free: 15.21 MB / 0.6075 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.005261/0.8247, allocations: 1.94 MB / 0.8436 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.8247, allocations: 9.656 kB / 0.8436 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.8287, allocations: 0.6621 MB / 0.8443 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.8306, allocations: 0.9403 MB / 0.8452 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.747e-05/0.8307, allocations: 67.92 kB / 0.8453 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.8309, allocations: 86.56 kB / 0.8454 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.8341, allocations: 1.471 MB / 0.8468 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.8342, allocations: 6.812 kB / 0.8468 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.8343, allocations: 36.64 kB / 0.8468 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/0.8343, allocations: 51.66 kB / 0.8469 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0043/0.8386, allocations: 1.518 MB / 0.8484 GB, free: 10.68 MB / 0.6075 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.007787/0.8464, allocations: 5.487 MB / 0.8537 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/0.8503, allocations: 1.277 MB / 0.855 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.8521, allocations: 0.6619 MB / 0.8556 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008991/0.853, allocations: 0.5823 MB / 0.8562 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00191/0.855, allocations: 0.7087 MB / 0.8569 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 4.087e-06/0.855, allocations: 8 kB / 0.8569 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.0058/0.8608, allocations: 1.87 MB / 0.8587 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.8609, allocations: 64 kB / 0.8588 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.8625, allocations: 1.246 MB / 0.86 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.8626, allocations: 41.7 kB / 0.86 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.8631, allocations: 0.5773 MB / 0.8606 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.8634, allocations: 275.4 kB / 0.8609 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.8637, allocations: 186.5 kB / 0.861 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8639, allocations: 341.9 kB / 0.8614 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.8655, allocations: 0.5399 MB / 0.8619 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.8674, allocations: 0.8135 MB / 0.8627 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/0.8708, allocations: 1.327 MB / 0.864 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.8708, allocations: 4 kB / 0.864 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004086/0.8749, allocations: 1.491 MB / 0.8654 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.8749, allocations: 11.94 kB / 0.8654 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.8749, allocations: 8 kB / 0.8655 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/0.875, allocations: 18.84 kB / 0.8655 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.8764, allocations: 295.5 kB / 0.8658 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.8764, allocations: 15.98 kB / 0.8658 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.8781, allocations: 202.7 kB / 0.866 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.8782, allocations: 47.98 kB / 0.866 GB, free: 7.988 MB / 0.6231 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.00074/0.8789, allocations: 335.7 kB / 0.8663 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.8792, allocations: 134.3 kB / 0.8665 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.8832, allocations: 1.41 MB / 0.8678 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.8832, allocations: 11.94 kB / 0.8678 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.8832, allocations: 0 / 0.8678 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.8832, allocations: 7.984 kB / 0.8679 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006088/0.8893, allocations: 2.794 MB / 0.8706 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.8894, allocations: 7.984 kB / 0.8706 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.8906, allocations: 219.1 kB / 0.8708 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.8907, allocations: 7.938 kB / 0.8708 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.8907, allocations: 31.97 kB / 0.8708 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.8908, allocations: 12.81 kB / 0.8709 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.8908, allocations: 10.52 kB / 0.8709 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/0.8964, allocations: 2.242 MB / 0.8731 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.897, allocations: 295.2 kB / 0.8733 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.8973, allocations: 28 kB / 0.8734 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.8983, allocations: 115.8 kB / 0.8735 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.8985, allocations: 65.38 kB / 0.8735 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.8986, allocations: 35.97 kB / 0.8736 GB, free: 84 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001086/0.8997, allocations: 0.8561 MB / 0.8744 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8997, allocations: 0 / 0.8744 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001065/0.9007, allocations: 311.6 kB / 0.8747 GB, free: 14.92 MB / 0.6387 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.001266/0.902, allocations: 0.5337 MB / 0.8752 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003635/0.9057, allocations: 1.294 MB / 0.8765 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9057, allocations: 3.938 kB / 0.8765 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.9074, allocations: 0.6385 MB / 0.8771 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.9101, allocations: 0.5896 MB / 0.8777 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.9152, allocations: 2.631 MB / 0.8803 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.9159, allocations: 1.163 MB / 0.8814 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.9165, allocations: 131.4 kB / 0.8815 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of SimCode: time 2.615e-06/0.9165, allocations: 0 / 0.8815 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.0315/0.948, allocations: 20.35 MB / 0.9014 GB, free: 3.812 MB / 0.6544 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)