Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.001085/0.001085, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9856/0.9856, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1608, allocations: 82.04 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4857/0.6466, allocations: 193.9 MB / 0.7838 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008892/0.6555, allocations: 5.149 MB / 0.7888 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.657, allocations: 47.69 kB / 0.7888 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.6595, allocations: 0.8081 MB / 0.7896 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.6662, allocations: 2.598 MB / 0.7922 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.669, allocations: 1.106 MB / 0.7932 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003545/0.6726, allocations: 2.679 MB / 0.7959 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.6744, allocations: 0.9484 MB / 0.7968 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.6768, allocations: 1.101 MB / 0.7979 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.6785, allocations: 0.9885 MB / 0.7988 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000355/0.6788, allocations: 88 kB / 0.7989 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.6826, allocations: 1.785 MB / 0.8007 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006984/0.6833, allocations: 450.6 kB / 0.8011 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.6848, allocations: 0.6648 MB / 0.8017 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.6903, allocations: 2.235 MB / 0.8039 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.6904, allocations: 3.938 kB / 0.8039 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6904, allocations: 0 / 0.8039 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.33e-05/0.6905, allocations: 0 / 0.8039 GB, free: 6.5 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006442/0.6969, allocations: 1.964 MB / 0.8058 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.697, allocations: 8.031 kB / 0.8058 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003084/0.6973, allocations: 148.1 kB / 0.806 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/0.7032, allocations: 0.8877 MB / 0.8069 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.7052, allocations: 0.9098 MB / 0.8077 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.829e-05/0.7053, allocations: 66 kB / 0.8078 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.7056, allocations: 92.92 kB / 0.8079 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004223/0.7099, allocations: 1.583 MB / 0.8094 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.7099, allocations: 4 kB / 0.8094 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.71, allocations: 36 kB / 0.8095 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/0.7101, allocations: 45.92 kB / 0.8095 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005611/0.7157, allocations: 1.854 MB / 0.8113 GB, free: 14.76 MB / 0.6387 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.008078/0.7238, allocations: 4.748 MB / 0.816 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.7285, allocations: 1.57 MB / 0.8175 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.731, allocations: 0.8584 MB / 0.8183 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.7323, allocations: 0.9413 MB / 0.8193 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002671/0.735, allocations: 0.9155 MB / 0.8202 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 4.198e-06/0.735, allocations: 0 / 0.8202 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.008311/0.7433, allocations: 2.458 MB / 0.8226 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.7434, allocations: 60.41 kB / 0.8226 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.7452, allocations: 1.201 MB / 0.8238 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.7454, allocations: 45.7 kB / 0.8238 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.7459, allocations: 0.5409 MB / 0.8244 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/0.7463, allocations: 327.3 kB / 0.8247 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.7467, allocations: 186.5 kB / 0.8249 GB, free: 448 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7469, allocations: 345.9 kB / 0.8252 GB, free: 96 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.7492, allocations: 0.6966 MB / 0.8259 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.7517, allocations: 0.9152 MB / 0.8268 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0046/0.7563, allocations: 1.55 MB / 0.8283 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.7563, allocations: 3.938 kB / 0.8283 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00535/0.7617, allocations: 1.776 MB / 0.83 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.7617, allocations: 9.094 kB / 0.83 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7617, allocations: 4 kB / 0.83 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.7618, allocations: 8.438 kB / 0.83 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.7636, allocations: 347.5 kB / 0.8304 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.7636, allocations: 11.94 kB / 0.8304 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.7654, allocations: 235.6 kB / 0.8306 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7655, allocations: 48.06 kB / 0.8306 GB, free: 10.37 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005658/0.7661, allocations: 339.7 kB / 0.831 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.7663, allocations: 138.3 kB / 0.8311 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/0.7715, allocations: 1.807 MB / 0.8329 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.7716, allocations: 8 kB / 0.8329 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.7716, allocations: 4 kB / 0.8329 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7716, allocations: 3.984 kB / 0.8329 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007541/0.7791, allocations: 3.318 MB / 0.8361 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.7792, allocations: 4 kB / 0.8361 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/0.7809, allocations: 300 kB / 0.8364 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.7809, allocations: 8 kB / 0.8364 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.781, allocations: 31.97 kB / 0.8364 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/0.7811, allocations: 8 kB / 0.8365 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7811, allocations: 4 kB / 0.8365 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009613/0.7907, allocations: 2.851 MB / 0.8392 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007938/0.7915, allocations: 319.2 kB / 0.8395 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.7918, allocations: 27.98 kB / 0.8396 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/0.7939, allocations: 155.8 kB / 0.8397 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.7941, allocations: 72.45 kB / 0.8398 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.7942, allocations: 43.95 kB / 0.8398 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001048/0.7952, allocations: 0.8315 MB / 0.8406 GB, free: 15.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7952, allocations: 0 / 0.8406 GB, free: 15.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001133/0.7964, allocations: 339.6 kB / 0.841 GB, free: 15.59 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.01404/0.8104, allocations: 3.834 MB / 0.8447 GB, free: 11.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008978/0.8194, allocations: 1.783 MB / 0.8465 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.8195, allocations: 4 kB / 0.8465 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002932/0.8224, allocations: 0.836 MB / 0.8473 GB, free: 9.254 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.8254, allocations: 0.6279 MB / 0.8479 GB, free: 8.648 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2766/1.102, allocations: 12.86 MB / 0.8604 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/1.103, allocations: 1.185 MB / 0.8616 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001569/1.104, allocations: 360.1 kB / 0.8619 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/1.105, allocations: 0.5064 MB / 0.8624 GB, free: 208.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.543e-06/1.105, allocations: 0 / 0.8624 GB, free: 208.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/1.24, allocations: 35.37 MB / 0.897 GB, free: 203.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/9.82, allocations: 9.109 kB / 0.897 GB, free: 203.2 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)