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.0009386/0.0009387, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005449/0.005449, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 12.59 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001006/0.2488, allocations: 0.5829 MB / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.249, allocations: 79.7 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.2491, allocations: 7.938 kB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.48e-05/0.2492, allocations: 11.86 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2493, allocations: 19.86 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.944e-05/0.2494, allocations: 27.98 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.2497, allocations: 231.5 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.25, allocations: 282.3 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.308e-05/0.2501, allocations: 71.53 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2503, allocations: 87.31 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2503, allocations: 8 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.2503, allocations: 8 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.2504, allocations: 51.72 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2505, allocations: 136.8 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2508, allocations: 402.5 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2508, allocations: 0 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2508, allocations: 0 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2508, allocations: 0 / 1.061 GB, free: 2.867 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.0005697/0.2514, allocations: 0.5188 MB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2514, allocations: 15.95 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.867e-05/0.2515, allocations: 82.72 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.2516, allocations: 36.47 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.2519, allocations: 328.1 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.252, allocations: 33.02 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.2521, allocations: 36.38 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.2526, allocations: 400.2 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2526, allocations: 3.938 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.2527, allocations: 12 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2527, allocations: 12 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.2531, allocations: 299.6 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.2545, allocations: 1.057 MB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2546, allocations: 93.16 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.2547, allocations: 45.8 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2547, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2547, allocations: 42.5 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2547, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003044/0.255, allocations: 165.2 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.2551, allocations: 85.05 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.2556, allocations: 0.5091 MB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2556, allocations: 29.7 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2558, allocations: 195.5 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.2558, allocations: 19.8 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.2558, allocations: 33.7 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.256, allocations: 350.8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2561, allocations: 67.95 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.2562, allocations: 85.66 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.2564, allocations: 113.6 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2564, allocations: 0 / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002938/0.2567, allocations: 213.2 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2567, allocations: 5.719 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2567, allocations: 8 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2567, allocations: 3.938 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.2569, allocations: 31.92 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2569, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.2569, allocations: 35.53 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.257, allocations: 8 kB / 1.066 GB, free: 13.67 MB / 0.8262 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.000181/0.2572, allocations: 208.5 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.2572, allocations: 31.62 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.2574, allocations: 121.8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2574, allocations: 7.938 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2575, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2575, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.258, allocations: 0.6565 MB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.258, allocations: 0 / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.258, allocations: 11.92 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.258, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.258, allocations: 3.938 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.258, allocations: 4 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.258, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2582, allocations: 131.4 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.2583, allocations: 124.7 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.2583, allocations: 4 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.193e-05/0.2584, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.2584, allocations: 15.92 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.2584, allocations: 4 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004118/0.2588, allocations: 391 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2588, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000238/0.2591, allocations: 39.91 kB / 1.067 GB, free: 11.8 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.0003849/0.2595, allocations: 0.6731 MB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.2597, allocations: 103.9 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2597, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.2597, allocations: 12 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.26, allocations: 29.56 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.2631, allocations: 2.977 MB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2635, allocations: 0.7872 MB / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.2636, allocations: 54.94 kB / 1.072 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2637, allocations: 107.3 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.2637, allocations: 3.938 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8328/1.096, allocations: 5.262 MB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.097, allocations: 231.9 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.753, allocations: 0 / 1.077 GB, free: 1.562 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)