Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008785/0.0008785, allocations: 181.2 kB / 325.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007786/0.0007787, allocations: 97.94 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002884, allocations: 8.906 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4728/0.6376, allocations: 191.6 MB / 1.083 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.6445, allocations: 5.188 MB / 1.088 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.6456, allocations: 43.94 kB / 1.088 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.6471, allocations: 0.7073 MB / 1.089 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.6517, allocations: 2.423 MB / 1.091 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.6539, allocations: 1.022 MB / 1.092 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003752/0.6577, allocations: 3.502 MB / 1.096 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.6589, allocations: 0.7818 MB / 1.097 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.6605, allocations: 1.012 MB / 1.098 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.6614, allocations: 0.9861 MB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.6615, allocations: 44.53 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.6643, allocations: 2.071 MB / 1.101 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.6647, allocations: 408.5 kB / 1.101 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.6652, allocations: 0.6163 MB / 1.102 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.6672, allocations: 2.215 MB / 1.104 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6672, allocations: 0.5625 kB / 1.104 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6672, allocations: 0 / 1.104 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.6672, allocations: 0 / 1.104 GB, free: 0.9766 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003652/0.6709, allocations: 1.69 MB / 1.105 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.6709, allocations: 11.28 kB / 1.105 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.671, allocations: 141.7 kB / 1.106 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.6748, allocations: 0.7566 MB / 1.106 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6758, allocations: 0.8947 MB / 1.107 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.6759, allocations: 65.88 kB / 1.107 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.676, allocations: 87.94 kB / 1.107 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.6786, allocations: 1.486 MB / 1.109 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.6786, allocations: 0 / 1.109 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.6787, allocations: 34.41 kB / 1.109 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.6787, allocations: 46.58 kB / 1.109 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.6821, allocations: 1.59 MB / 1.11 GB, free: 15.29 MB / 0.7136 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.005106/0.6872, allocations: 5.061 MB / 1.115 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.69, allocations: 1.233 MB / 1.117 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.6914, allocations: 0.6808 MB / 1.117 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.6925, allocations: 0.951 MB / 1.118 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.6941, allocations: 0.7369 MB / 1.119 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 1.984e-06/0.6941, allocations: 0 / 1.119 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.005079/0.6992, allocations: 1.994 MB / 1.121 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.6992, allocations: 63.84 kB / 1.121 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.7008, allocations: 1.279 MB / 1.122 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/0.7009, allocations: 42.61 kB / 1.122 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.7012, allocations: 0.5848 MB / 1.123 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.7014, allocations: 276.6 kB / 1.123 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.7015, allocations: 76.94 kB / 1.123 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.7016, allocations: 342.7 kB / 1.123 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.7031, allocations: 0.5591 MB / 1.124 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.7047, allocations: 0.8553 MB / 1.125 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.7075, allocations: 1.368 MB / 1.126 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7076, allocations: 3.562 kB / 1.126 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003246/0.7108, allocations: 1.539 MB / 1.128 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7108, allocations: 6.125 kB / 1.128 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.7109, allocations: 10.28 kB / 1.128 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.7109, allocations: 11.56 kB / 1.128 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.7121, allocations: 304.6 kB / 1.128 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.7121, allocations: 20.28 kB / 1.128 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.7133, allocations: 233.3 kB / 1.128 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.7134, allocations: 49.5 kB / 1.128 GB, free: 9.684 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0003715/0.7138, allocations: 337.5 kB / 1.129 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.7139, allocations: 137.9 kB / 1.129 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.7172, allocations: 1.469 MB / 1.13 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.7172, allocations: 13.34 kB / 1.13 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7172, allocations: 0 / 1.13 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7173, allocations: 4.312 kB / 1.13 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.7221, allocations: 2.886 MB / 1.133 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7221, allocations: 2.656 kB / 1.133 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.7233, allocations: 231.8 kB / 1.133 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.7233, allocations: 6.281 kB / 1.133 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/0.7234, allocations: 30.5 kB / 1.133 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.7234, allocations: 16.39 kB / 1.133 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.7234, allocations: 6.828 kB / 1.133 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.728, allocations: 2.344 MB / 1.136 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.7284, allocations: 304.1 kB / 1.136 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.7286, allocations: 23.16 kB / 1.136 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7296, allocations: 138 kB / 1.136 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.7297, allocations: 64.42 kB / 1.136 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.7298, allocations: 36.19 kB / 1.136 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007872/0.7306, allocations: 0.8818 MB / 1.137 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7306, allocations: 0 / 1.137 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007664/0.7314, allocations: 320.9 kB / 1.137 GB, free: 7.023 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.005983/0.7374, allocations: 3.314 MB / 1.14 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003032/0.7404, allocations: 1.328 MB / 1.142 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7404, allocations: 1.75 kB / 1.142 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.7419, allocations: 0.6721 MB / 1.142 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.7449, allocations: 0.6209 MB / 1.143 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.7625, allocations: 12.44 MB / 1.155 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.7632, allocations: 1.179 MB / 1.156 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001319/0.7645, allocations: 350.3 kB / 1.157 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/0.7651, allocations: 499.2 kB / 1.157 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.7651, allocations: 0 / 1.157 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7516/1.517, allocations: 33.61 MB / 1.19 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.517, allocations: 259.9 kB / 1.19 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/4.585, allocations: 2.812 kB / 1.19 GB, free: 8.473 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)