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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7495/0.7495, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 180.8 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.000916, allocations: 86.08 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.692e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1785, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.537/6.715, allocations: 2.388 GB / 3.016 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/6.716, allocations: 91.19 kB / 3.016 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.118/8.833, allocations: 0.583 GB / 3.599 GB, free: 65.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.034e-06/8.833, allocations: 0 / 3.599 GB, free: 65.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001199/8.834, allocations: 46.66 kB / 3.599 GB, free: 65.36 MB / 0.6511 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.002962/8.837, allocations: 1.331 MB / 3.6 GB, free: 63.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/8.837, allocations: 8.031 kB / 3.6 GB, free: 63.98 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/8.837, allocations: 118.5 kB / 3.601 GB, free: 63.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/8.84, allocations: 0.5837 MB / 3.601 GB, free: 63.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/8.842, allocations: 0.9225 MB / 3.602 GB, free: 62.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/8.842, allocations: 65.98 kB / 3.602 GB, free: 62.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/8.842, allocations: 76 kB / 3.602 GB, free: 62.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/8.843, allocations: 0.9004 MB / 3.603 GB, free: 61.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/8.843, allocations: 0 / 3.603 GB, free: 61.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/8.844, allocations: 32 kB / 3.603 GB, free: 61.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/8.844, allocations: 23.95 kB / 3.603 GB, free: 61.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009313/8.845, allocations: 0.618 MB / 3.604 GB, free: 60.53 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.004849/8.849, allocations: 4.875 MB / 3.608 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/8.85, allocations: 0.5123 MB / 3.609 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/8.851, allocations: 270.1 kB / 3.609 GB, free: 54.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/8.852, allocations: 1.601 MB / 3.611 GB, free: 52.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000554/8.852, allocations: 382.7 kB / 3.611 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=55): time 3.647e-06/8.852, allocations: 4 kB / 3.611 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55): time 0.00136/8.854, allocations: 0.6733 MB / 3.612 GB, free: 51.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/8.854, allocations: 63.97 kB / 3.612 GB, free: 51.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/8.855, allocations: 0.992 MB / 3.613 GB, free: 50.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/8.855, allocations: 41.64 kB / 3.613 GB, free: 50.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/8.856, allocations: 0.5738 MB / 3.613 GB, free: 49.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/8.856, allocations: 190.2 kB / 3.614 GB, free: 49.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/8.856, allocations: 16 kB / 3.614 GB, free: 49.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/8.856, allocations: 337.9 kB / 3.614 GB, free: 49.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/8.856, allocations: 254 kB / 3.614 GB, free: 49.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/8.857, allocations: 0.5864 MB / 3.615 GB, free: 48.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/8.857, allocations: 309 kB / 3.615 GB, free: 48.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/8.857, allocations: 4 kB / 3.615 GB, free: 48.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001333/8.859, allocations: 0.8999 MB / 3.616 GB, free: 47.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/8.859, allocations: 8.156 kB / 3.616 GB, free: 47.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/8.859, allocations: 12 kB / 3.616 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/8.859, allocations: 12 kB / 3.616 GB, free: 47.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/8.86, allocations: 275.5 kB / 3.616 GB, free: 46.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/8.86, allocations: 12 kB / 3.616 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/8.861, allocations: 217.2 kB / 3.616 GB, free: 46.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/8.861, allocations: 51.97 kB / 3.617 GB, free: 46.6 MB / 0.6511 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0002025/8.861, allocations: 166.9 kB / 3.617 GB, free: 46.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/8.862, allocations: 126.5 kB / 3.617 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/8.863, allocations: 1.017 MB / 3.618 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/8.863, allocations: 8 kB / 3.618 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/8.863, allocations: 0 / 3.618 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/8.863, allocations: 3.984 kB / 3.618 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/8.865, allocations: 0.9193 MB / 3.619 GB, free: 44.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/8.865, allocations: 4 kB / 3.619 GB, free: 44.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009278/8.866, allocations: 183.8 kB / 3.619 GB, free: 44.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/8.866, allocations: 7.984 kB / 3.619 GB, free: 44.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/8.866, allocations: 15.98 kB / 3.619 GB, free: 44.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/8.866, allocations: 4 kB / 3.619 GB, free: 44.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/8.866, allocations: 3.984 kB / 3.619 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/8.867, allocations: 1.118 MB / 3.62 GB, free: 42.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/8.867, allocations: 243.3 kB / 3.62 GB, free: 42.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/8.868, allocations: 12 kB / 3.62 GB, free: 42.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/8.869, allocations: 127.9 kB / 3.62 GB, free: 42.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/8.869, allocations: 36.5 kB / 3.62 GB, free: 42.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/8.869, allocations: 23.98 kB / 3.62 GB, free: 42.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009126/8.87, allocations: 0.8417 MB / 3.621 GB, free: 41.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/8.87, allocations: 3.938 kB / 3.621 GB, free: 41.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001196/8.871, allocations: 385.7 kB / 3.622 GB, free: 41.28 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003253/8.874, allocations: 2.334 MB / 3.624 GB, free: 39.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001169/8.875, allocations: 0.6726 MB / 3.625 GB, free: 38.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/8.875, allocations: 0.625 kB / 3.625 GB, free: 38.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/8.876, allocations: 327.1 kB / 3.625 GB, free: 38.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/8.878, allocations: 421.6 kB / 3.625 GB, free: 37.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/8.881, allocations: 1.919 MB / 3.627 GB, free: 35.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/8.882, allocations: 1.123 MB / 3.628 GB, free: 34.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001054/8.883, allocations: 255.6 kB / 3.628 GB, free: 34.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/8.884, allocations: 463.2 kB / 3.629 GB, free: 33.83 MB / 0.6511 GB Notification: Performance of SimCode: time 2.605e-06/8.884, allocations: 0 / 3.629 GB, free: 33.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/8.939, allocations: 33.05 MB / 3.661 GB, free: 1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/8.939, allocations: 207.7 kB / 3.661 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/12.03, allocations: 0 / 3.661 GB, free: 0.7734 MB / 0.6511 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/linux/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)