Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001044/0.001044, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001007/0.001007, allocations: 190.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.42 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002178/0.2471, allocations: 0.9108 MB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.249, allocations: 1.481 MB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.2491, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.2492, allocations: 15.86 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.2493, allocations: 23.78 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2504, allocations: 496.3 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.251, allocations: 0.4953 MB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2511, allocations: 37.48 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.2513, allocations: 191.6 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.2515, allocations: 143.6 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.2516, allocations: 40 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2517, allocations: 51.98 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.2518, allocations: 47.89 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.2521, allocations: 155.5 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.2525, allocations: 411.2 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2525, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2525, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2525, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007464/0.2533, allocations: 0.6476 MB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2533, allocations: 8.031 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.2534, allocations: 46.73 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.2534, allocations: 28.75 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.2537, allocations: 263.9 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2538, allocations: 20.36 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.2538, allocations: 28.38 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2541, allocations: 159.1 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2541, allocations: 3.938 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.2541, allocations: 8 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2541, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.2543, allocations: 83.94 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.2551, allocations: 0.7031 MB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.2553, allocations: 175.6 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.2553, allocations: 44.88 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2554, allocations: 0 / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.2556, allocations: 161.6 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.2556, allocations: 3.938 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004566/0.2561, allocations: 245.3 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2561, allocations: 59.41 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2563, allocations: 179.2 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.2563, allocations: 41.7 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2565, allocations: 128.4 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2565, allocations: 43.45 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.2567, allocations: 117.6 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2568, allocations: 326.8 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.2571, allocations: 155.8 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.2574, allocations: 242.1 kB / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.2579, allocations: 404.4 kB / 0.7915 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2579, allocations: 4 kB / 0.7915 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009801/0.2589, allocations: 0.6226 MB / 0.7921 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.2591, allocations: 168.4 kB / 0.7923 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2591, allocations: 4 kB / 0.7923 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2591, allocations: 4 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.2591, allocations: 15.94 kB / 0.7923 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2591, allocations: 7.938 kB / 0.7923 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.2599, allocations: 147.9 kB / 0.7925 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.26, allocations: 35.97 kB / 0.7925 GB, free: 3.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001619/0.2602, allocations: 157.5 kB / 0.7926 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.2602, allocations: 19.75 kB / 0.7927 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.2602, allocations: 21.86 kB / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2602, allocations: 0 / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2602, allocations: 0 / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2603, allocations: 0 / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.2608, allocations: 0.505 MB / 0.7932 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.2608, allocations: 0 / 0.7932 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.2608, allocations: 15.86 kB / 0.7932 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2608, allocations: 4 kB / 0.7932 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2609, allocations: 4 kB / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2609, allocations: 0 / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2609, allocations: 4 kB / 0.7932 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.2612, allocations: 283.2 kB / 0.7935 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.2613, allocations: 96.84 kB / 0.7936 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.2613, allocations: 4 kB / 0.7936 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.2614, allocations: 11.98 kB / 0.7936 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.2614, allocations: 19.92 kB / 0.7936 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2614, allocations: 11.92 kB / 0.7936 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.2615, allocations: 119.2 kB / 0.7937 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2615, allocations: 0 / 0.7937 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003378/0.2619, allocations: 83.91 kB / 0.7938 GB, free: 2.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005792/0.2624, allocations: 0.8398 MB / 0.7946 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007499/0.2632, allocations: 0.614 MB / 0.7952 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2632, allocations: 0.6875 kB / 0.7952 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2633, allocations: 79.91 kB / 0.7953 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.2637, allocations: 51.89 kB / 0.7953 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.2674, allocations: 3.034 MB / 0.7983 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2677, allocations: 0.7242 MB / 0.799 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.737e-05/0.2678, allocations: 17.55 kB / 0.799 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.976e-05/0.2679, allocations: 67.34 kB / 0.7991 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2679, allocations: 0 / 0.7991 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.2848, allocations: 6.204 MB / 0.8052 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.2851, allocations: 210.9 kB / 0.8054 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.16, allocations: 4.062 kB / 0.8054 GB, free: 6.121 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)