Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.257/1.257, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0009158/0.0009158, allocations: 165.8 kB / 325.8 MB, free: 2.711 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.285/1.285, allocations: 205 MB / 0.576 GB, free: 20.97 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.0006942/0.0006942, allocations: 85.53 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002943, allocations: 13.62 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4991/0.6426, allocations: 191.6 MB / 1.083 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007283/0.65, allocations: 5.184 MB / 1.088 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.6512, allocations: 44.16 kB / 1.088 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.6527, allocations: 0.7118 MB / 1.089 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.658, allocations: 2.414 MB / 1.091 GB, free: 1.266 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.6605, allocations: 1.029 MB / 1.092 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00377/0.6643, allocations: 3.515 MB / 1.096 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.6656, allocations: 0.7828 MB / 1.097 GB, free: 1.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.6676, allocations: 1.018 MB / 1.098 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.6689, allocations: 0.9686 MB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.669, allocations: 47.47 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.6723, allocations: 2.066 MB / 1.101 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004803/0.6728, allocations: 403.4 kB / 1.101 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007194/0.6735, allocations: 0.6118 MB / 1.102 GB, free: 1.074 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.6766, allocations: 2.201 MB / 1.104 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6767, allocations: 0 / 1.104 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6767, allocations: 0 / 1.104 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.6767, allocations: 0 / 1.104 GB, free: 0.9375 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.003984/0.6807, allocations: 1.696 MB / 1.105 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6808, allocations: 11.66 kB / 1.105 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.6809, allocations: 134.6 kB / 1.106 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.6844, allocations: 0.7088 MB / 1.106 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.6856, allocations: 0.8902 MB / 1.107 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.6857, allocations: 69.09 kB / 1.107 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.6858, allocations: 102.2 kB / 1.107 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.6884, allocations: 1.476 MB / 1.109 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.6884, allocations: 8.656 kB / 1.109 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/0.6885, allocations: 44.7 kB / 1.109 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.6886, allocations: 53.05 kB / 1.109 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/0.6919, allocations: 1.533 MB / 1.11 GB, free: 15.2 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.006093/0.698, allocations: 5.506 MB / 1.116 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.7012, allocations: 1.316 MB / 1.117 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.7026, allocations: 0.6739 MB / 1.118 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007781/0.7034, allocations: 0.5922 MB / 1.118 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.705, allocations: 0.722 MB / 1.119 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.136e-06/0.705, allocations: 0 / 1.119 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.005284/0.7103, allocations: 1.912 MB / 1.121 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.7104, allocations: 60.22 kB / 1.121 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.7123, allocations: 1.254 MB / 1.122 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.7124, allocations: 45.39 kB / 1.122 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.7129, allocations: 0.5777 MB / 1.123 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.7132, allocations: 278.1 kB / 1.123 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.7133, allocations: 76.5 kB / 1.123 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7134, allocations: 350.2 kB / 1.123 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.7149, allocations: 0.551 MB / 1.124 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.7166, allocations: 0.8497 MB / 1.125 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.7198, allocations: 1.358 MB / 1.126 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.7199, allocations: 2.125 kB / 1.126 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003797/0.7237, allocations: 1.515 MB / 1.128 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.7238, allocations: 9.688 kB / 1.128 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7238, allocations: 12.09 kB / 1.128 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.7238, allocations: 15.59 kB / 1.128 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.7251, allocations: 293.6 kB / 1.128 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.7252, allocations: 23.17 kB / 1.128 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7267, allocations: 238.6 kB / 1.128 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.892e-05/0.7268, allocations: 49.47 kB / 1.128 GB, free: 9.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005415/0.7273, allocations: 338.4 kB / 1.128 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.7276, allocations: 135.4 kB / 1.129 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.7309, allocations: 1.428 MB / 1.13 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.731, allocations: 14.52 kB / 1.13 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.731, allocations: 0 / 1.13 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.731, allocations: 8.172 kB / 1.13 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.736, allocations: 2.836 MB / 1.133 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.736, allocations: 3.406 kB / 1.133 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.7371, allocations: 234.4 kB / 1.133 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.7371, allocations: 5.125 kB / 1.133 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.7372, allocations: 30.47 kB / 1.133 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.7372, allocations: 9.406 kB / 1.133 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.7372, allocations: 5.156 kB / 1.133 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.7419, allocations: 2.286 MB / 1.135 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.7425, allocations: 295.3 kB / 1.136 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.7426, allocations: 19.97 kB / 1.136 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.7436, allocations: 138 kB / 1.136 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.7438, allocations: 71.11 kB / 1.136 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/0.7439, allocations: 34.38 kB / 1.136 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009393/0.7448, allocations: 0.856 MB / 1.137 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7448, allocations: 1.75 kB / 1.137 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001032/0.7459, allocations: 320.9 kB / 1.137 GB, free: 6.879 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.006016/0.7519, allocations: 3.263 MB / 1.14 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003344/0.7552, allocations: 1.3 MB / 1.141 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.7553, allocations: 3.594 kB / 1.141 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.7568, allocations: 0.6493 MB / 1.142 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.7599, allocations: 0.5904 MB / 1.143 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.7784, allocations: 12.22 MB / 1.155 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.7791, allocations: 1.17 MB / 1.156 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001397/0.7805, allocations: 348.9 kB / 1.156 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007053/0.7812, allocations: 0.4953 MB / 1.157 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.7812, allocations: 0 / 1.157 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8623/1.643, allocations: 32.58 MB / 1.188 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/1.644, allocations: 274.2 kB / 1.189 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.433/5.077, allocations: 8 kB / 1.189 GB, free: 10.16 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)