Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 192.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.346/2.346, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 66.33 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2119, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001747/0.2137, allocations: 0.9296 MB / 1.053 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000202/0.2139, allocations: 83.64 kB / 1.053 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.214, allocations: 4 kB / 1.053 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.2141, allocations: 19.86 kB / 1.053 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.2142, allocations: 11.92 kB / 1.053 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.257e-05/0.2143, allocations: 35.97 kB / 1.053 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2145, allocations: 227.5 kB / 1.053 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.2148, allocations: 286.3 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.2149, allocations: 107.5 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.215, allocations: 131.3 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.215, allocations: 16 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.768e-05/0.215, allocations: 16 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.2151, allocations: 71.7 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.2152, allocations: 135.1 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.2155, allocations: 422.6 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2155, allocations: 7.938 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2155, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2155, allocations: 4 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0005221/0.216, allocations: 0.5906 MB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2161, allocations: 15.97 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.2161, allocations: 70.72 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.2162, allocations: 40.47 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.2165, allocations: 332.1 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.2165, allocations: 37.02 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.2166, allocations: 36.38 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.2171, allocations: 392.2 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2171, allocations: 7.938 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.2171, allocations: 12 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2171, allocations: 8 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.2175, allocations: 307.5 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2186, allocations: 1.053 MB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.2187, allocations: 93.16 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.2188, allocations: 45.78 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2188, allocations: 4 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.2189, allocations: 34.56 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2189, allocations: 0 / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002754/0.2191, allocations: 165.1 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2192, allocations: 85.09 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.2196, allocations: 0.5091 MB / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2197, allocations: 25.7 kB / 1.058 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2198, allocations: 203.5 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.2198, allocations: 23.78 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.2199, allocations: 49.7 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.22, allocations: 346.8 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.2201, allocations: 63.95 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2202, allocations: 99.34 kB / 1.059 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2203, allocations: 109.6 kB / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2203, allocations: 0 / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002506/0.2206, allocations: 217 kB / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.2206, allocations: 4 kB / 1.059 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2206, allocations: 0 / 1.059 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2206, allocations: 7.938 kB / 1.059 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2207, allocations: 27.98 kB / 1.059 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2207, allocations: 7.938 kB / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.2208, allocations: 35.56 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2208, allocations: 12 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001501/0.221, allocations: 196.4 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.2211, allocations: 39.52 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.2212, allocations: 114 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2212, allocations: 8 kB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2213, allocations: 4.188 kB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2213, allocations: 0 / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2217, allocations: 0.6485 MB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2217, allocations: 7.984 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.2217, allocations: 8.125 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2217, allocations: 4 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.2218, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2218, allocations: 4 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2218, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.2219, allocations: 135.2 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.222, allocations: 124.6 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.222, allocations: 4 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.2221, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.2221, allocations: 8 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2221, allocations: 11.98 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003447/0.2224, allocations: 387 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2224, allocations: 0 / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002154/0.2227, allocations: 36 kB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.000316/0.223, allocations: 0.6751 MB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2232, allocations: 107.9 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2232, allocations: 0 / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.382e-05/0.2232, allocations: 15.94 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2234, allocations: 33.5 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.2261, allocations: 2.98 MB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2264, allocations: 0.7872 MB / 1.066 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.983e-05/0.2265, allocations: 54.94 kB / 1.066 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2266, allocations: 95.41 kB / 1.066 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2266, allocations: 0 / 1.066 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.02/2.247, allocations: 5.379 MB / 1.071 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/2.247, allocations: 245 kB / 1.071 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/3.958, allocations: 1.875 kB / 1.071 GB, free: 4.215 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1)