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.366/1.366, allocations: 252 MB / 267 MB, free: 10.97 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.0009448/0.0009447, allocations: 188.2 kB / 326.6 MB, free: 2.227 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.556/1.556, allocations: 205.4 MB / 0.5776 GB, free: 20.28 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.0007326/0.0007327, allocations: 85.98 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 8.938 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1905, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5884/0.7789, allocations: 176.6 MB / 1.073 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008115/0.7871, allocations: 4.903 MB / 1.078 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.7884, allocations: 40.69 kB / 1.078 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.7903, allocations: 0.6179 MB / 1.078 GB, free: 4.055 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005553/0.7959, allocations: 1.863 MB / 1.08 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.7988, allocations: 0.9188 MB / 1.081 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004486/0.8033, allocations: 2.994 MB / 1.084 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.8046, allocations: 0.7105 MB / 1.085 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.8067, allocations: 0.9954 MB / 1.086 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.8079, allocations: 0.9199 MB / 1.086 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.808, allocations: 45.19 kB / 1.086 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.8107, allocations: 0.934 MB / 1.087 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.8111, allocations: 400.8 kB / 1.088 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.8117, allocations: 268.2 kB / 1.088 GB, free: 19.81 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.8133, allocations: 1.357 MB / 1.089 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.8133, allocations: 1.031 kB / 1.089 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8133, allocations: 0 / 1.089 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.8134, allocations: 0 / 1.089 GB, free: 19.67 MB / 0.7136 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.004613/0.818, allocations: 1.7 MB / 1.091 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.818, allocations: 9.281 kB / 1.091 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.8182, allocations: 151 kB / 1.091 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.8223, allocations: 0.7003 MB / 1.092 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.8238, allocations: 0.8459 MB / 1.093 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.8239, allocations: 67.92 kB / 1.093 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.824, allocations: 95.45 kB / 1.093 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.8269, allocations: 1.477 MB / 1.094 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.8269, allocations: 3 kB / 1.094 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/0.827, allocations: 34.53 kB / 1.094 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.8271, allocations: 55.47 kB / 1.094 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.8308, allocations: 1.534 MB / 1.096 GB, free: 17.98 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.006787/0.8376, allocations: 5.51 MB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.841, allocations: 1.325 MB / 1.103 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.8425, allocations: 0.6597 MB / 1.103 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008837/0.8434, allocations: 0.598 MB / 1.104 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/0.8451, allocations: 0.7233 MB / 1.104 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.627e-06/0.8451, allocations: 0 / 1.104 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.005248/0.8504, allocations: 1.906 MB / 1.106 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8504, allocations: 60.84 kB / 1.106 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.8517, allocations: 1.232 MB / 1.108 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.583e-05/0.8518, allocations: 50.92 kB / 1.108 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.8522, allocations: 0.589 MB / 1.108 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.8524, allocations: 277 kB / 1.108 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.8524, allocations: 19.8 kB / 1.109 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8525, allocations: 341.6 kB / 1.109 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.854, allocations: 0.5431 MB / 1.109 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.8557, allocations: 0.8473 MB / 1.11 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.8572, allocations: 0.599 MB / 1.111 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8572, allocations: 3.438 kB / 1.111 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003621/0.8608, allocations: 1.508 MB / 1.112 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8609, allocations: 12.19 kB / 1.112 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.8609, allocations: 12.61 kB / 1.112 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.8609, allocations: 15.53 kB / 1.112 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.8623, allocations: 304.2 kB / 1.113 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.8624, allocations: 14.03 kB / 1.113 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.864, allocations: 232.1 kB / 1.113 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8641, allocations: 54.06 kB / 1.113 GB, free: 12.55 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005711/0.8647, allocations: 334 kB / 1.113 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.8648, allocations: 142.1 kB / 1.113 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/0.8685, allocations: 1.419 MB / 1.115 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.8685, allocations: 15.7 kB / 1.115 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8685, allocations: 5.25 kB / 1.115 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.8685, allocations: 5.203 kB / 1.115 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.8741, allocations: 2.814 MB / 1.117 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.8741, allocations: 3.5 kB / 1.117 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.8755, allocations: 231.8 kB / 1.118 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/0.8755, allocations: 11.3 kB / 1.118 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.8756, allocations: 29.16 kB / 1.118 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.8757, allocations: 8.328 kB / 1.118 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.8757, allocations: 7.625 kB / 1.118 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/0.8816, allocations: 2.279 MB / 1.12 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.8824, allocations: 306.3 kB / 1.12 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.8825, allocations: 22.14 kB / 1.12 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.8837, allocations: 144.1 kB / 1.12 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.8839, allocations: 60.02 kB / 1.12 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.884, allocations: 41.36 kB / 1.121 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001145/0.8851, allocations: 0.8498 MB / 1.121 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8851, allocations: 1.859 kB / 1.121 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001134/0.8863, allocations: 321.9 kB / 1.122 GB, free: 10.71 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 (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.007313/0.8936, allocations: 3.244 MB / 1.125 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003487/0.8971, allocations: 1.302 MB / 1.126 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8971, allocations: 0 / 1.126 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.8988, allocations: 0.6475 MB / 1.127 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.9017, allocations: 0.5928 MB / 1.127 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.9178, allocations: 8.704 MB / 1.136 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.9186, allocations: 1.179 MB / 1.137 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0016/0.9202, allocations: 338.5 kB / 1.137 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.9209, allocations: 0.4931 MB / 1.138 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of SimCode: time 1.502e-06/0.9209, allocations: 0 / 1.138 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05496/0.9758, allocations: 32.74 MB / 1.17 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/0.9761, allocations: 250.6 kB / 1.17 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.836, allocations: 0 / 1.17 GB, free: 6.68 MB / 0.7448 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)