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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 104.2 kB / 16.4 MB, free: 6.469 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.001312/0.001313, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7763/0.7763, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.92 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1588, allocations: 77.94 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5736/0.7324, allocations: 193.8 MB / 0.8333 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009691/0.7421, allocations: 5.158 MB / 0.8384 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.7439, allocations: 50.88 kB / 0.8384 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.7461, allocations: 0.8187 MB / 0.8392 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.753, allocations: 2.695 MB / 0.8419 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.7558, allocations: 1.11 MB / 0.8429 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.7592, allocations: 2.621 MB / 0.8455 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.7606, allocations: 0.8914 MB / 0.8464 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.7627, allocations: 1.121 MB / 0.8475 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.764, allocations: 0.9498 MB / 0.8484 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.7642, allocations: 77.81 kB / 0.8485 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.7678, allocations: 1.794 MB / 0.8502 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005007/0.7683, allocations: 435 kB / 0.8506 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.7692, allocations: 0.6485 MB / 0.8513 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.773, allocations: 2.161 MB / 0.8534 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.773, allocations: 0 / 0.8534 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.773, allocations: 0 / 0.8534 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.098e-05/0.7731, allocations: 0 / 0.8534 GB, free: 5.672 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.005237/0.7783, allocations: 1.976 MB / 0.8553 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.7784, allocations: 8.625 kB / 0.8553 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.7785, allocations: 143.5 kB / 0.8555 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003958/0.7825, allocations: 0.6685 MB / 0.8561 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.7842, allocations: 0.9577 MB / 0.857 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.7843, allocations: 66 kB / 0.8571 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.7845, allocations: 87.98 kB / 0.8572 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.7876, allocations: 1.474 MB / 0.8586 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.7876, allocations: 0 / 0.8586 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.7878, allocations: 36 kB / 0.8587 GB, free: 224 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.7878, allocations: 49.98 kB / 0.8587 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.7919, allocations: 1.522 MB / 0.8602 GB, free: 14.64 MB / 0.6231 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.007498/0.7994, allocations: 5.492 MB / 0.8656 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/0.8031, allocations: 1.277 MB / 0.8668 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.8049, allocations: 0.6585 MB / 0.8675 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008865/0.8058, allocations: 0.5812 MB / 0.868 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/0.8078, allocations: 0.7146 MB / 0.8687 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.906e-06/0.8078, allocations: 3.938 kB / 0.8687 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005796/0.8136, allocations: 1.883 MB / 0.8706 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.8136, allocations: 68 kB / 0.8706 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.8152, allocations: 1.235 MB / 0.8718 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.606e-05/0.8153, allocations: 41.7 kB / 0.8719 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.8158, allocations: 0.5955 MB / 0.8725 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.8161, allocations: 285.6 kB / 0.8727 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.8164, allocations: 182.6 kB / 0.8729 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8166, allocations: 345.9 kB / 0.8732 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.8182, allocations: 0.5367 MB / 0.8738 GB, free: 300 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.8201, allocations: 0.8212 MB / 0.8746 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/0.8237, allocations: 1.324 MB / 0.8759 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.8237, allocations: 4 kB / 0.8759 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004135/0.8279, allocations: 1.503 MB / 0.8773 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.8279, allocations: 8 kB / 0.8773 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.8279, allocations: 8 kB / 0.8773 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.8279, allocations: 12.81 kB / 0.8773 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.8295, allocations: 299.5 kB / 0.8776 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.489e-05/0.8296, allocations: 12.88 kB / 0.8776 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.8311, allocations: 199.1 kB / 0.8778 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.8312, allocations: 51.97 kB / 0.8779 GB, free: 11.84 MB / 0.6387 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.0006728/0.8319, allocations: 347.8 kB / 0.8782 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.8323, allocations: 143 kB / 0.8784 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.8363, allocations: 1.408 MB / 0.8797 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.8363, allocations: 8 kB / 0.8797 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8363, allocations: 0 / 0.8797 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.8363, allocations: 3.984 kB / 0.8797 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/0.8427, allocations: 2.808 MB / 0.8825 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.8428, allocations: 4 kB / 0.8825 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.844, allocations: 223.6 kB / 0.8827 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.8441, allocations: 8 kB / 0.8827 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-05/0.8442, allocations: 31.97 kB / 0.8827 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.8442, allocations: 7.984 kB / 0.8827 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.8442, allocations: 7.938 kB / 0.8828 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/0.85, allocations: 2.26 MB / 0.885 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008663/0.8509, allocations: 300 kB / 0.8852 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.8513, allocations: 23.98 kB / 0.8853 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.8526, allocations: 119.9 kB / 0.8854 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.8527, allocations: 64.36 kB / 0.8854 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.8528, allocations: 39.97 kB / 0.8855 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001334/0.8542, allocations: 0.8483 MB / 0.8863 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8542, allocations: 96 / 0.8863 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00129/0.8555, allocations: 327.6 kB / 0.8866 GB, free: 2.684 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.007503/0.863, allocations: 3.229 MB / 0.8898 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003866/0.8669, allocations: 1.279 MB / 0.891 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.8669, allocations: 4 kB / 0.891 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.8688, allocations: 0.6443 MB / 0.8917 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.872, allocations: 0.5878 MB / 0.8922 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/0.8941, allocations: 10.99 MB / 0.903 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009799/0.8952, allocations: 1.173 MB / 0.9041 GB, free: 440 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001391/0.8966, allocations: 349.9 kB / 0.9044 GB, free: 88 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008732/0.8975, allocations: 495.3 kB / 0.9049 GB, free: 15.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.312e-06/0.8975, allocations: 8 kB / 0.9049 GB, free: 15.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06885/0.9663, allocations: 33.93 MB / 0.9381 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.99, allocations: 15.3 kB / 0.9381 GB, free: 14 MB / 0.7012 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)