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/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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.712/0.712, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 183.8 kB / 174.2 MB, free: 5.918 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.389/1.389, allocations: 205.1 MB / 408.9 MB, free: 9.695 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.000953/0.000953, allocations: 90 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 60.73 kB / 0.558 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1282, allocations: 75.47 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4583/0.5866, allocations: 215.2 MB / 0.8418 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008588/0.5952, allocations: 5.294 MB / 0.847 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.5966, allocations: 42.44 kB / 0.847 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.5985, allocations: 0.7233 MB / 0.8477 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005865/0.6044, allocations: 2.412 MB / 0.8501 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.607, allocations: 1.019 MB / 0.8511 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004185/0.6112, allocations: 3.813 MB / 0.8548 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.6126, allocations: 0.8828 MB / 0.8557 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.6146, allocations: 1.075 MB / 0.8567 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.6159, allocations: 1.043 MB / 0.8577 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.616, allocations: 56 kB / 0.8578 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.6197, allocations: 2.077 MB / 0.8598 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.6201, allocations: 434.6 kB / 0.8602 GB, free: 316 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007231/0.6208, allocations: 0.6371 MB / 0.8609 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.6242, allocations: 2.318 MB / 0.8631 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6242, allocations: 0 / 0.8631 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6242, allocations: 0 / 0.8631 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.6242, allocations: 4 kB / 0.8631 GB, free: 13.34 MB / 0.5573 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.004779/0.629, allocations: 1.973 MB / 0.8651 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.6291, allocations: 11.97 kB / 0.8651 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005434/0.6345, allocations: 0.9033 MB / 0.866 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.6362, allocations: 0.9138 MB / 0.8668 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.6363, allocations: 69.94 kB / 0.8669 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.6365, allocations: 92 kB / 0.867 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/0.6402, allocations: 1.583 MB / 0.8685 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6402, allocations: 0 / 0.8685 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6403, allocations: 32 kB / 0.8686 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.826e-05/0.6404, allocations: 49.98 kB / 0.8686 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00521/0.6456, allocations: 1.866 MB / 0.8704 GB, free: 5.695 MB / 0.5573 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.007436/0.6531, allocations: 4.739 MB / 0.8751 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/0.6575, allocations: 1.613 MB / 0.8766 GB, free: 15.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.6599, allocations: 0.8507 MB / 0.8775 GB, free: 14.24 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.6612, allocations: 0.9374 MB / 0.8784 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/0.6637, allocations: 0.9182 MB / 0.8793 GB, free: 12.19 MB / 0.573 GB Notification: Performance of pre-optimization done (n=94): time 3.868e-06/0.6637, allocations: 0 / 0.8793 GB, free: 12.19 MB / 0.573 GB Notification: Performance of matching and sorting (n=94): time 0.007671/0.6714, allocations: 2.446 MB / 0.8817 GB, free: 9.734 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.6715, allocations: 60.41 kB / 0.8817 GB, free: 9.664 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.6729, allocations: 1.201 MB / 0.8829 GB, free: 8.453 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.673, allocations: 49.7 kB / 0.883 GB, free: 8.398 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.6735, allocations: 0.545 MB / 0.8835 GB, free: 7.848 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.6738, allocations: 335.3 kB / 0.8838 GB, free: 7.516 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.6741, allocations: 182.6 kB / 0.884 GB, free: 7.332 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6742, allocations: 345.9 kB / 0.8843 GB, free: 6.988 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.6764, allocations: 0.7005 MB / 0.885 GB, free: 6.285 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.6787, allocations: 0.9208 MB / 0.8859 GB, free: 5.293 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/0.6831, allocations: 1.549 MB / 0.8874 GB, free: 3.688 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6831, allocations: 4 kB / 0.8874 GB, free: 3.684 MB / 0.573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005141/0.6883, allocations: 1.768 MB / 0.8891 GB, free: 1.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.6883, allocations: 8.438 kB / 0.8891 GB, free: 1.902 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6883, allocations: 11.94 kB / 0.8892 GB, free: 1.891 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.6884, allocations: 8 kB / 0.8892 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.6902, allocations: 335.5 kB / 0.8895 GB, free: 1.555 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.6902, allocations: 8.703 kB / 0.8895 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.6919, allocations: 270.6 kB / 0.8898 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6921, allocations: 43.98 kB / 0.8898 GB, free: 1.238 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (120): * Single equations (assignments): 120 * 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.0006084/0.6927, allocations: 335.7 kB / 0.8901 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.6929, allocations: 138.3 kB / 0.8902 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/0.698, allocations: 1.805 MB / 0.892 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.6981, allocations: 12 kB / 0.892 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.6981, allocations: 0 / 0.892 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.6981, allocations: 3.984 kB / 0.892 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007333/0.7054, allocations: 3.293 MB / 0.8952 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.7055, allocations: 7.938 kB / 0.8952 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.707, allocations: 292 kB / 0.8955 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.7071, allocations: 11.92 kB / 0.8955 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-05/0.7072, allocations: 39.97 kB / 0.8956 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.7072, allocations: 7.938 kB / 0.8956 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7072, allocations: 4 kB / 0.8956 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/0.7205, allocations: 6.742 MB / 0.9022 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.7208, allocations: 211.2 kB / 0.9024 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.721, allocations: 31.86 kB / 0.9024 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7225, allocations: 167.8 kB / 0.9026 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.7226, allocations: 76.45 kB / 0.9026 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/0.7227, allocations: 35.97 kB / 0.9027 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009368/0.7237, allocations: 0.8394 MB / 0.9035 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.585e-06/0.7237, allocations: 0 / 0.9035 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001157/0.7248, allocations: 435.5 kB / 0.9039 GB, free: 2.293 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (94): * Single equations (assignments): 88 * 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.001206/0.7261, allocations: 0.5333 MB / 0.9044 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004799/0.7309, allocations: 1.619 MB / 0.906 GB, free: 312 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7309, allocations: 4 kB / 0.906 GB, free: 308 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.7333, allocations: 0.832 MB / 0.9068 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.7361, allocations: 0.6014 MB / 0.9074 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.7424, allocations: 3.892 MB / 0.9112 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.7432, allocations: 1.217 MB / 0.9124 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001512/0.7447, allocations: 366.2 kB / 0.9128 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.7452, allocations: 115.4 kB / 0.9129 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.7452, allocations: 0 / 0.9129 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of Templates: time 0.03693/0.7821, allocations: 24.1 MB / 0.9364 GB, free: 1.285 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)