Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001405/0.001405, allocations: 108 kB / 15.61 MB, free: 148 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.001513/0.001514, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.9798/0.9798, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 67.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1614, allocations: 82.04 MB / 0.5944 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3034/0.4648, allocations: 29.33 MB / 0.623 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00855/0.4734, allocations: 6.876 MB / 0.6297 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.4749, allocations: 50.97 kB / 0.6298 GB, free: 23.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.4764, allocations: 0.6882 MB / 0.6305 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.4794, allocations: 1.454 MB / 0.6319 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.482, allocations: 1.152 MB / 0.633 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.4849, allocations: 2.467 MB / 0.6354 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.4859, allocations: 0.7946 MB / 0.6362 GB, free: 20.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.4879, allocations: 1.01 MB / 0.6372 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/0.4887, allocations: 0.8169 MB / 0.638 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.4888, allocations: 67.06 kB / 0.638 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.4904, allocations: 0.8168 MB / 0.6388 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.4906, allocations: 270 kB / 0.6391 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.491, allocations: 0.5482 MB / 0.6396 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.4928, allocations: 1.644 MB / 0.6412 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4929, allocations: 3.938 kB / 0.6412 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4929, allocations: 0 / 0.6412 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.4929, allocations: 0 / 0.6412 GB, free: 18.33 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002298/0.4952, allocations: 1.569 MB / 0.6428 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4952, allocations: 9.594 kB / 0.6428 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.556e-05/0.4953, allocations: 110.5 kB / 0.6429 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003332/0.4987, allocations: 0.5933 MB / 0.6435 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.4998, allocations: 0.8101 MB / 0.6443 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.4998, allocations: 57.23 kB / 0.6443 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5, allocations: 77.69 kB / 0.6444 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.5022, allocations: 1.103 MB / 0.6455 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.5022, allocations: 3.938 kB / 0.6455 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.5023, allocations: 28.53 kB / 0.6455 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5023, allocations: 17.25 kB / 0.6455 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.5052, allocations: 1.002 MB / 0.6465 GB, free: 15.7 MB / 0.4981 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.004965/0.5102, allocations: 4.973 MB / 0.6513 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.5137, allocations: 0.8995 MB / 0.6522 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.5155, allocations: 493.1 kB / 0.6527 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.5169, allocations: 1.587 MB / 0.6542 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/0.5186, allocations: 0.5742 MB / 0.6548 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.497e-06/0.5186, allocations: 1.188 kB / 0.6548 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.005527/0.5242, allocations: 1.488 MB / 0.6563 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.5242, allocations: 59.09 kB / 0.6563 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.5261, allocations: 1.113 MB / 0.6574 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.5262, allocations: 47.03 kB / 0.6574 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.5265, allocations: 0.5437 MB / 0.658 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5267, allocations: 209 kB / 0.6582 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.527, allocations: 160.1 kB / 0.6583 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.5271, allocations: 339.8 kB / 0.6586 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.5286, allocations: 449.3 kB / 0.6591 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.5303, allocations: 0.7156 MB / 0.6598 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.5335, allocations: 1.114 MB / 0.6609 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.5335, allocations: 2.188 kB / 0.6609 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003762/0.5373, allocations: 1.279 MB / 0.6621 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5373, allocations: 9.219 kB / 0.6621 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5373, allocations: 10.34 kB / 0.6621 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.5373, allocations: 11.72 kB / 0.6621 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.5386, allocations: 272 kB / 0.6624 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.5386, allocations: 17.22 kB / 0.6624 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5399, allocations: 181.1 kB / 0.6626 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.54, allocations: 47.78 kB / 0.6626 GB, free: 5.848 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004608/0.5405, allocations: 292.9 kB / 0.6629 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.5407, allocations: 122.8 kB / 0.663 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.5445, allocations: 1.364 MB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5446, allocations: 8.969 kB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5446, allocations: 1.594 kB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5446, allocations: 4.172 kB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/0.5496, allocations: 2.364 MB / 0.6667 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.5496, allocations: 5.594 kB / 0.6667 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.5507, allocations: 190.8 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.5508, allocations: 5.531 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.5508, allocations: 24.03 kB / 0.6669 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.5509, allocations: 9.781 kB / 0.6669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5509, allocations: 1.094 kB / 0.6669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.5561, allocations: 1.982 MB / 0.6689 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.5566, allocations: 277.1 kB / 0.6691 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.5569, allocations: 19.89 kB / 0.6691 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.558, allocations: 110.4 kB / 0.6692 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5582, allocations: 57.08 kB / 0.6693 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.5582, allocations: 32.12 kB / 0.6693 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00111/0.5594, allocations: 0.7642 MB / 0.6701 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5594, allocations: 0 / 0.6701 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001524/0.5609, allocations: 339.5 kB / 0.6704 GB, free: 2.742 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007099/0.568, allocations: 3.085 MB / 0.6734 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.5719, allocations: 1.186 MB / 0.6746 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.572, allocations: 4 kB / 0.6746 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.5737, allocations: 0.5689 MB / 0.6751 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.5761, allocations: 458.2 kB / 0.6756 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.6028, allocations: 10.22 MB / 0.6855 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.6038, allocations: 1.104 MB / 0.6866 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001386/0.6052, allocations: 244.6 kB / 0.6869 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007465/0.606, allocations: 461.1 kB / 0.6873 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/0.606, allocations: 0 / 0.6873 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06066/0.6667, allocations: 30.58 MB / 0.7172 GB, free: 14.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/9.377, allocations: 2.922 kB / 0.7172 GB, free: 14.66 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)