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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001202/0.001202, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.9999/0.9999, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.5135 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1635, allocations: 82.03 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3337/0.4972, allocations: 29.17 MB / 0.6221 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009111/0.5063, allocations: 6.907 MB / 0.6288 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.5082, allocations: 47.62 kB / 0.6289 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.5103, allocations: 0.6075 MB / 0.6295 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.5147, allocations: 1.343 MB / 0.6308 GB, free: 22.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.5178, allocations: 1.033 MB / 0.6318 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003451/0.5213, allocations: 3.214 MB / 0.6349 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.5227, allocations: 0.7363 MB / 0.6356 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.5247, allocations: 0.9352 MB / 0.6366 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.526, allocations: 0.8352 MB / 0.6374 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.5262, allocations: 43.47 kB / 0.6374 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.5282, allocations: 0.7655 MB / 0.6382 GB, free: 19.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.5286, allocations: 255.9 kB / 0.6384 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007141/0.5293, allocations: 0.5226 MB / 0.6389 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.5319, allocations: 1.613 MB / 0.6405 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5319, allocations: 4 kB / 0.6405 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5319, allocations: 0 / 0.6405 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.617e-05/0.532, allocations: 0 / 0.6405 GB, free: 18.88 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.003184/0.5351, allocations: 1.565 MB / 0.642 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5352, allocations: 12.09 kB / 0.642 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.5387, allocations: 0.5861 MB / 0.6426 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.5399, allocations: 0.8107 MB / 0.6434 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.5399, allocations: 59.44 kB / 0.6435 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.54, allocations: 76.19 kB / 0.6435 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.5423, allocations: 1.091 MB / 0.6446 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5424, allocations: 6.625 kB / 0.6446 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.5425, allocations: 31.83 kB / 0.6446 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.5425, allocations: 21.41 kB / 0.6447 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.5455, allocations: 0.9996 MB / 0.6456 GB, free: 16.35 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.005056/0.5506, allocations: 4.958 MB / 0.6505 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.5535, allocations: 0.9031 MB / 0.6514 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.555, allocations: 484.8 kB / 0.6518 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009813/0.556, allocations: 1.595 MB / 0.6534 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.5577, allocations: 0.5746 MB / 0.6539 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.965e-06/0.5577, allocations: 0 / 0.6539 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004856/0.5626, allocations: 1.485 MB / 0.6554 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.5626, allocations: 58.39 kB / 0.6554 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5642, allocations: 1.111 MB / 0.6565 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.5643, allocations: 43.2 kB / 0.6566 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.5647, allocations: 0.5458 MB / 0.6571 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.5649, allocations: 213.1 kB / 0.6573 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.5651, allocations: 169.3 kB / 0.6575 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.5652, allocations: 334.4 kB / 0.6578 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.5667, allocations: 451.4 kB / 0.6582 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.5683, allocations: 0.7152 MB / 0.6589 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.5712, allocations: 1.122 MB / 0.66 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.5713, allocations: 2.125 kB / 0.66 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003716/0.575, allocations: 1.268 MB / 0.6612 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.575, allocations: 9.547 kB / 0.6613 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.575, allocations: 6.844 kB / 0.6613 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.5751, allocations: 12.25 kB / 0.6613 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.5764, allocations: 280.3 kB / 0.6615 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-05/0.5764, allocations: 13.75 kB / 0.6616 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.5781, allocations: 194.3 kB / 0.6617 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.5782, allocations: 49.05 kB / 0.6618 GB, free: 6.488 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.0006785/0.5789, allocations: 295.7 kB / 0.6621 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.5793, allocations: 122.3 kB / 0.6622 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.5835, allocations: 1.362 MB / 0.6635 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.5836, allocations: 9.812 kB / 0.6635 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5836, allocations: 1.25 kB / 0.6635 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5836, allocations: 3.422 kB / 0.6635 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.5898, allocations: 2.373 MB / 0.6658 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.5899, allocations: 3.078 kB / 0.6658 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.591, allocations: 186.9 kB / 0.666 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/0.591, allocations: 4.281 kB / 0.666 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/0.5911, allocations: 25.02 kB / 0.6661 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.5911, allocations: 4.531 kB / 0.6661 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5912, allocations: 5.312 kB / 0.6661 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/0.5966, allocations: 1.98 MB / 0.668 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.5973, allocations: 271.6 kB / 0.6683 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/0.5976, allocations: 20.05 kB / 0.6683 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.5988, allocations: 117.8 kB / 0.6684 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.599, allocations: 52.94 kB / 0.6684 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-05/0.5991, allocations: 38.2 kB / 0.6685 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001393/0.6005, allocations: 0.7644 MB / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6005, allocations: 0 / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001575/0.6021, allocations: 345.8 kB / 0.6695 GB, free: 3.387 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.001737/0.6038, allocations: 0.6691 MB / 0.6702 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003779/0.6076, allocations: 1.112 MB / 0.6713 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6076, allocations: 1.406 kB / 0.6713 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.6093, allocations: 0.5682 MB / 0.6718 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.6117, allocations: 439.5 kB / 0.6723 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/0.6171, allocations: 2.728 MB / 0.6749 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.6179, allocations: 1.107 MB / 0.676 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001334/0.6192, allocations: 250.8 kB / 0.6762 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.6196, allocations: 107.2 kB / 0.6763 GB, free: 216 kB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.6196, allocations: 0 / 0.6763 GB, free: 216 kB / 0.4981 GB Notification: Performance of Templates: time 0.03715/0.6568, allocations: 19.28 MB / 0.6952 GB, free: 5.336 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)