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.0009401/0.0009403, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.678/1.678, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005357/0.0005359, allocations: 20.06 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2558, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001095/0.257, allocations: 0.5371 MB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.2588, allocations: 1.462 MB / 0.7894 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.2589, allocations: 4 kB / 0.7894 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.259, allocations: 11.86 kB / 0.7894 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.2591, allocations: 31.77 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2603, allocations: 472.3 kB / 0.7899 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.2607, allocations: 375.2 kB / 0.7902 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2609, allocations: 37.48 kB / 0.7903 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.261, allocations: 151.7 kB / 0.7904 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.2612, allocations: 131.6 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.2612, allocations: 27.94 kB / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.2613, allocations: 39.98 kB / 0.7906 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.2614, allocations: 27.92 kB / 0.7906 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.2615, allocations: 69.58 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.2618, allocations: 283.5 kB / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2618, allocations: 0 / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.075e-06/0.2618, allocations: 3.984 kB / 0.791 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2618, allocations: 0 / 0.791 GB, free: 8.215 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.0006287/0.2624, allocations: 0.5773 MB / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2625, allocations: 8.031 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.2625, allocations: 46.55 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.2626, allocations: 35.72 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.263, allocations: 254.8 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.263, allocations: 20 kB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.2631, allocations: 35.97 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.2633, allocations: 146.6 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2633, allocations: 0 / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.2634, allocations: 8 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2634, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.2635, allocations: 87.89 kB / 0.7921 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.2644, allocations: 0.7186 MB / 0.7928 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.2646, allocations: 167.7 kB / 0.793 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.2647, allocations: 48.83 kB / 0.793 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.2647, allocations: 0 / 0.793 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.265, allocations: 159.4 kB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.265, allocations: 4 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004295/0.2654, allocations: 236 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2655, allocations: 67.31 kB / 0.7935 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2656, allocations: 179.2 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.2657, allocations: 41.7 kB / 0.7937 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2658, allocations: 124.4 kB / 0.7938 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.2659, allocations: 43.53 kB / 0.7939 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.2659, allocations: 12 kB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.266, allocations: 326.8 kB / 0.7942 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.2663, allocations: 159.8 kB / 0.7943 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.2667, allocations: 238.1 kB / 0.7946 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.267, allocations: 292.4 kB / 0.7948 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.267, allocations: 4 kB / 0.7948 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009004/0.2679, allocations: 0.6164 MB / 0.7954 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.268, allocations: 164.4 kB / 0.7956 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.268, allocations: 4 kB / 0.7956 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2681, allocations: 4 kB / 0.7956 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.422e-05/0.2681, allocations: 11.94 kB / 0.7956 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2681, allocations: 7.984 kB / 0.7956 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/0.2689, allocations: 194.8 kB / 0.7958 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.269, allocations: 39.92 kB / 0.7959 GB, free: 2.789 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.2692, allocations: 157.5 kB / 0.796 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.2692, allocations: 15.81 kB / 0.796 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.2692, allocations: 25.86 kB / 0.796 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2692, allocations: 4 kB / 0.7961 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2693, allocations: 0 / 0.7961 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2693, allocations: 0 / 0.7961 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.2698, allocations: 0.5138 MB / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2698, allocations: 0 / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.2699, allocations: 8 kB / 0.7966 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2699, allocations: 4 kB / 0.7966 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2699, allocations: 0 / 0.7966 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2699, allocations: 0 / 0.7966 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2699, allocations: 8 kB / 0.7966 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.2702, allocations: 285.2 kB / 0.7968 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.2702, allocations: 92.86 kB / 0.7969 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2703, allocations: 7.984 kB / 0.7969 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.2703, allocations: 4 kB / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.2704, allocations: 19.97 kB / 0.797 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2704, allocations: 12 kB / 0.797 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.37e-05/0.2705, allocations: 115.2 kB / 0.7971 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.442e-06/0.2705, allocations: 0 / 0.7971 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003436/0.2709, allocations: 87.92 kB / 0.7972 GB, free: 1.344 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 (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.0006537/0.2715, allocations: 0.8259 MB / 0.798 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008103/0.2724, allocations: 0.6062 MB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2724, allocations: 4 kB / 0.7986 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2725, allocations: 79.86 kB / 0.7986 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.2729, allocations: 52.56 kB / 0.7987 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.275, allocations: 1.484 MB / 0.8001 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2753, allocations: 0.7281 MB / 0.8009 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.8e-05/0.2754, allocations: 25.53 kB / 0.8009 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.2755, allocations: 59.41 kB / 0.8009 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2755, allocations: 0 / 0.8009 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.3096, allocations: 5.858 MB / 0.8067 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.3098, allocations: 201.6 kB / 0.8069 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.204, allocations: 0 / 0.8069 GB, free: 7.379 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/linux/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) Environment - environmentSimulation: