Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",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.0009861/0.0009861, 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.0008667/0.0008667, 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.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.672/1.672, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004983/0.0004984, allocations: 15.81 kB / 0.6738 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0009072/0.2693, allocations: 357.8 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2706, allocations: 1.087 MB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.2706, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.524e-05/0.2707, allocations: 3.938 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.836e-05/0.2707, allocations: 4 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.2712, allocations: 112.7 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2713, allocations: 67.89 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.152e-05/0.2714, allocations: 8 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.2714, allocations: 35.89 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.2715, allocations: 23.91 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2715, allocations: 4 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.2716, allocations: 23.92 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.2716, allocations: 4 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.2717, allocations: 37.64 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.2719, allocations: 63.84 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2719, allocations: 0 / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2719, allocations: 0 / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2719, allocations: 4 kB / 0.7892 GB, free: 9.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004986/0.2724, allocations: 365.2 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2725, allocations: 15.97 kB / 0.7896 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.2725, allocations: 34.55 kB / 0.7896 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.2725, allocations: 7.906 kB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.2728, allocations: 179 kB / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2728, allocations: 4 kB / 0.7898 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.2728, allocations: 11.98 kB / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.273, allocations: 49.67 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.273, allocations: 4 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.273, allocations: 0 / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2731, allocations: 0 / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.2731, allocations: 15.94 kB / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.2736, allocations: 300.8 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/0.2736, allocations: 22.56 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.2737, allocations: 20.86 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.2737, allocations: 0 / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.2738, allocations: 59.39 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2739, allocations: 0 / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/0.2741, allocations: 61.59 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.2741, allocations: 55.36 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2743, allocations: 113.8 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.2743, allocations: 33.7 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.2744, allocations: 91.97 kB / 0.7906 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.2744, allocations: 8 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.2744, allocations: 0 / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2746, allocations: 318.8 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.2747, allocations: 27.98 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.2747, allocations: 42.56 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.205e-05/0.2748, allocations: 61.69 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2749, allocations: 0 / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002415/0.2751, allocations: 147.2 kB / 0.7911 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.2752, allocations: 37.69 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2752, allocations: 0 / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2752, allocations: 0 / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.2752, allocations: 4 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2752, allocations: 0 / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.2755, allocations: 40.02 kB / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.2755, allocations: 11.98 kB / 0.7912 GB, free: 7.625 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001038/0.2756, allocations: 117.8 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.2756, allocations: 0 / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2757, allocations: 11.91 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2757, allocations: 4 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2757, allocations: 0 / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2757, allocations: 3.938 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2759, allocations: 165.6 kB / 0.7915 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2759, allocations: 0 / 0.7915 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.2759, allocations: 0 / 0.7915 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2759, allocations: 0 / 0.7915 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2759, allocations: 4 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2759, allocations: 320 / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2759, allocations: 0 / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.276, allocations: 101.1 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2761, allocations: 77.11 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2761, allocations: 4 kB / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.2761, allocations: 0 / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.2761, allocations: 0 / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2762, allocations: 7.984 kB / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.2762, allocations: 83.28 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2762, allocations: 3.938 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002013/0.2764, allocations: 20 kB / 0.7918 GB, free: 6.93 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003648/0.2768, allocations: 0.6241 MB / 0.7924 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.277, allocations: 119.3 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.277, allocations: 0 / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.277, allocations: 8.188 kB / 0.7925 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.2772, allocations: 11.98 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007403/0.278, allocations: 0.5053 MB / 0.7931 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2782, allocations: 0.6809 MB / 0.7937 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.2782, allocations: 0 / 0.7937 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.2783, allocations: 19.42 kB / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2783, allocations: 0 / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06905/0.3473, allocations: 1.725 MB / 0.7954 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.3476, allocations: 203.7 kB / 0.7956 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.231, allocations: 0 / 0.7956 GB, free: 3.031 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: