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.457/1.457, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009318/0.0009319, allocations: 168.3 kB / 327 MB, free: 2.117 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.626/1.626, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007474/0.0007475, allocations: 89.92 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003449, allocations: 9.312 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.631/0.8202, allocations: 189.3 MB / 1.086 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008668/0.8289, allocations: 5.136 MB / 1.091 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.8303, allocations: 41.28 kB / 1.091 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.8319, allocations: 0.7191 MB / 1.092 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.8379, allocations: 2.415 MB / 1.094 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.8407, allocations: 1.02 MB / 1.095 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004057/0.8447, allocations: 3.507 MB / 1.098 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.8461, allocations: 0.7854 MB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.8482, allocations: 1.013 MB / 1.1 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.8494, allocations: 0.9797 MB / 1.101 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.8496, allocations: 45.09 kB / 1.101 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.8534, allocations: 2.064 MB / 1.103 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.8538, allocations: 412.9 kB / 1.103 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.8545, allocations: 0.644 MB / 1.104 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.8577, allocations: 2.218 MB / 1.106 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.8577, allocations: 2.469 kB / 1.106 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8577, allocations: 1.75 kB / 1.106 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.8577, allocations: 0 / 1.106 GB, free: 0.9492 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.004369/0.8621, allocations: 1.685 MB / 1.108 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.8621, allocations: 13.38 kB / 1.108 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.8623, allocations: 142.6 kB / 1.108 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.8665, allocations: 0.752 MB / 1.109 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.8679, allocations: 0.8998 MB / 1.11 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.868, allocations: 69.3 kB / 1.11 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.8682, allocations: 89.69 kB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.871, allocations: 1.484 MB / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.871, allocations: 0 / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.8711, allocations: 40.31 kB / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.8712, allocations: 50.66 kB / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/0.875, allocations: 1.583 MB / 1.113 GB, free: 15.25 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.006241/0.8812, allocations: 5.049 MB / 1.118 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.8844, allocations: 1.238 MB / 1.119 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.8861, allocations: 0.6746 MB / 1.12 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.8875, allocations: 0.9535 MB / 1.121 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001879/0.8894, allocations: 0.7403 MB / 1.121 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.908e-06/0.8894, allocations: 2.625 kB / 1.121 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.006151/0.8955, allocations: 1.998 MB / 1.123 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.8956, allocations: 60.5 kB / 1.123 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.8976, allocations: 1.268 MB / 1.125 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.8978, allocations: 47.97 kB / 1.125 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005077/0.8983, allocations: 0.5762 MB / 1.125 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.8986, allocations: 290.9 kB / 1.126 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.8987, allocations: 18.81 kB / 1.126 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8988, allocations: 343.1 kB / 1.126 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.9005, allocations: 0.5547 MB / 1.126 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.9024, allocations: 0.8519 MB / 1.127 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.9056, allocations: 1.371 MB / 1.129 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.9057, allocations: 2.156 kB / 1.129 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003856/0.9095, allocations: 1.541 MB / 1.13 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9096, allocations: 14.69 kB / 1.13 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.9096, allocations: 8.625 kB / 1.13 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.9096, allocations: 16.25 kB / 1.13 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.9111, allocations: 299.6 kB / 1.13 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/0.9111, allocations: 14.28 kB / 1.13 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.9127, allocations: 225.6 kB / 1.131 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.9128, allocations: 50.28 kB / 1.131 GB, free: 9.258 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005929/0.9134, allocations: 336 kB / 1.131 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.9137, allocations: 144.6 kB / 1.131 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.9176, allocations: 1.472 MB / 1.133 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.9176, allocations: 8.031 kB / 1.133 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9176, allocations: 0 / 1.133 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.9176, allocations: 7.203 kB / 1.133 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005811/0.9234, allocations: 2.891 MB / 1.135 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.9235, allocations: 7.781 kB / 1.135 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.9247, allocations: 232.1 kB / 1.136 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.9248, allocations: 10.47 kB / 1.136 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.9249, allocations: 30.41 kB / 1.136 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.9249, allocations: 8.438 kB / 1.136 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9249, allocations: 5.844 kB / 1.136 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/0.9303, allocations: 2.351 MB / 1.138 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.9309, allocations: 315 kB / 1.138 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.9311, allocations: 27.55 kB / 1.138 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.9323, allocations: 135.8 kB / 1.138 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.9325, allocations: 57.97 kB / 1.139 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/0.9326, allocations: 36.28 kB / 1.139 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001069/0.9337, allocations: 0.883 MB / 1.139 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9337, allocations: 0 / 1.139 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001065/0.9348, allocations: 324 kB / 1.14 GB, free: 6.09 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.006614/0.9414, allocations: 3.313 MB / 1.143 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003469/0.9449, allocations: 1.331 MB / 1.144 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9449, allocations: 0 / 1.144 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.9466, allocations: 0.6701 MB / 1.145 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/0.9502, allocations: 0.6095 MB / 1.146 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/0.972, allocations: 12.5 MB / 1.158 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.9727, allocations: 1.168 MB / 1.159 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001677/0.9744, allocations: 354.3 kB / 1.159 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/0.9752, allocations: 0.4917 MB / 1.16 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.9752, allocations: 4 kB / 1.16 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0523/1.028, allocations: 33.61 MB / 1.192 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.028, allocations: 271.8 kB / 1.193 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.449/4.477, allocations: 2.625 kB / 1.193 GB, free: 8.078 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)