Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_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.000972/0.0009721, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001025/0.001025, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9799/0.9799, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1759, allocations: 83.4 MB / 0.5974 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4668/0.6427, allocations: 160.8 MB / 0.7544 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009821/0.6526, allocations: 5.045 MB / 0.7593 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.6542, allocations: 39.69 kB / 0.7594 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.6565, allocations: 0.7782 MB / 0.7601 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.662, allocations: 1.78 MB / 0.7619 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.6658, allocations: 1.165 MB / 0.763 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003526/0.6693, allocations: 1.642 MB / 0.7646 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.6708, allocations: 0.7778 MB / 0.7654 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.6732, allocations: 0.95 MB / 0.7663 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6742, allocations: 0.6887 MB / 0.767 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.6744, allocations: 52 kB / 0.767 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.6766, allocations: 0.7332 MB / 0.7677 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/0.677, allocations: 374.8 kB / 0.7681 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.6774, allocations: 261.6 kB / 0.7684 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.679, allocations: 1.257 MB / 0.7696 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6791, allocations: 0 / 0.7696 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6791, allocations: 0 / 0.7696 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.6791, allocations: 0 / 0.7696 GB, free: 11.67 MB / 0.5919 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.004779/0.6839, allocations: 1.656 MB / 0.7712 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6839, allocations: 16.03 kB / 0.7712 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.6841, allocations: 135.5 kB / 0.7713 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003767/0.6879, allocations: 0.7083 MB / 0.772 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.6896, allocations: 0.8336 MB / 0.7728 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.6896, allocations: 65.98 kB / 0.7729 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.6898, allocations: 87.91 kB / 0.773 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.6929, allocations: 1.478 MB / 0.7744 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.693, allocations: 4 kB / 0.7744 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.6931, allocations: 36 kB / 0.7745 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-05/0.6931, allocations: 49.98 kB / 0.7745 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/0.6971, allocations: 1.541 MB / 0.776 GB, free: 4.875 MB / 0.5919 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.007443/0.7045, allocations: 5.136 MB / 0.781 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.7082, allocations: 1.32 MB / 0.7823 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.7087, allocations: 153.7 kB / 0.7825 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/0.7106, allocations: 0.7233 MB / 0.7832 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.556e-06/0.7106, allocations: 4 kB / 0.7832 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005641/0.7162, allocations: 1.909 MB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.7163, allocations: 68.05 kB / 0.7851 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.7179, allocations: 1.223 MB / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.718, allocations: 41.7 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.7185, allocations: 0.583 MB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.7187, allocations: 272.2 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.7188, allocations: 16 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.719, allocations: 345.9 kB / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.7205, allocations: 0.5445 MB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.7223, allocations: 0.8252 MB / 0.7889 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.7239, allocations: 0.5964 MB / 0.7894 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.724, allocations: 0 / 0.7894 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003842/0.7278, allocations: 1.507 MB / 0.7909 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.7278, allocations: 12.16 kB / 0.7909 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.7279, allocations: 8.094 kB / 0.7909 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.7279, allocations: 23.88 kB / 0.791 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7293, allocations: 299.6 kB / 0.7912 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.7293, allocations: 21.02 kB / 0.7913 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.7308, allocations: 229.4 kB / 0.7915 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.7309, allocations: 47.97 kB / 0.7915 GB, free: 4.523 MB / 0.6075 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.0005635/0.7315, allocations: 339.6 kB / 0.7919 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.7317, allocations: 134.3 kB / 0.792 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/0.7359, allocations: 1.428 MB / 0.7934 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.7359, allocations: 11.95 kB / 0.7934 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7359, allocations: 0 / 0.7934 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.736, allocations: 3.984 kB / 0.7934 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006037/0.742, allocations: 2.808 MB / 0.7961 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.742, allocations: 8.062 kB / 0.7961 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.7432, allocations: 231.6 kB / 0.7964 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.7433, allocations: 11.95 kB / 0.7964 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.7433, allocations: 27.97 kB / 0.7964 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.7434, allocations: 8 kB / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.7434, allocations: 7.938 kB / 0.7964 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/0.749, allocations: 2.495 MB / 0.7989 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/0.7498, allocations: 315.1 kB / 0.7992 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7501, allocations: 19.98 kB / 0.7992 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.7512, allocations: 135.9 kB / 0.7993 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.7513, allocations: 60.39 kB / 0.7994 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.7514, allocations: 35.97 kB / 0.7994 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00112/0.7526, allocations: 0.8444 MB / 0.8002 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7526, allocations: 3.938 kB / 0.8002 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001083/0.7537, allocations: 323.6 kB / 0.8005 GB, free: 11.04 MB / 0.6231 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.007541/0.7612, allocations: 4.539 MB / 0.805 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003716/0.7649, allocations: 1.298 MB / 0.8062 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.765, allocations: 0 / 0.8062 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.7667, allocations: 0.6521 MB / 0.8069 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.7694, allocations: 0.5548 MB / 0.8074 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.7875, allocations: 13.38 MB / 0.8205 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/0.7883, allocations: 1.199 MB / 0.8216 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001505/0.7898, allocations: 345.1 kB / 0.822 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007498/0.7906, allocations: 0.4914 MB / 0.8225 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/0.7906, allocations: 0 / 0.8225 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05647/0.847, allocations: 32.19 MB / 0.8539 GB, free: 4.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.8473, allocations: 243 kB / 0.8541 GB, free: 4.207 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.451, allocations: 64 / 0.8541 GB, free: 4.207 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: