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.001609/0.001609, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.744/1.744, allocations: 205.1 MB / 222.4 MB, free: 4.43 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.745/1.745, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001477/0.001477, allocations: 68.42 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2619, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002136/0.2641, allocations: 0.6302 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2656, allocations: 1.113 MB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.2657, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.2658, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.707e-05/0.2659, allocations: 11.91 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.2664, allocations: 126.5 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2665, allocations: 91.89 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.2666, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.2667, allocations: 39.91 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.2668, allocations: 23.95 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2668, allocations: 8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.2669, allocations: 27.92 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.267, allocations: 15.88 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.267, allocations: 27.91 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2672, allocations: 91.78 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2672, allocations: 0 / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2673, allocations: 0 / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.2673, allocations: 0 / 0.7856 GB, free: 11.17 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.0006428/0.2679, allocations: 381.4 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.268, allocations: 12.03 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.268, allocations: 30.75 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.2681, allocations: 12.83 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.2684, allocations: 184.4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.2684, allocations: 384 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.2684, allocations: 8.375 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2685, allocations: 46.19 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2686, allocations: 7.922 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2686, allocations: 8 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2686, allocations: 3.938 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.33e-05/0.2686, allocations: 8 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.2691, allocations: 300.8 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.2692, allocations: 22.52 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.2692, allocations: 21.97 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2692, allocations: 0 / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.2695, allocations: 63.31 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.2695, allocations: 0 / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002386/0.2697, allocations: 65.59 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.2698, allocations: 55.41 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2699, allocations: 105.8 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.2699, allocations: 29.7 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.27, allocations: 96.05 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.27, allocations: 3.906 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.2701, allocations: 29.7 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2702, allocations: 318.8 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.2703, allocations: 31.98 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.2704, allocations: 42.56 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.2705, allocations: 88.2 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2705, allocations: 0 / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002353/0.2708, allocations: 139.3 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.2708, allocations: 41.69 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2708, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2709, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.2709, allocations: 4 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2709, allocations: 96 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.2711, allocations: 31.91 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.2712, allocations: 7.984 kB / 0.7877 GB, free: 8.738 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.2713, allocations: 121.8 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2713, allocations: 3.906 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.2713, allocations: 7.906 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2714, allocations: 0 / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2714, allocations: 7.938 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2714, allocations: 4 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.2715, allocations: 165.6 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2715, allocations: 0 / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.2715, allocations: 3.938 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2716, allocations: 0 / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2716, allocations: 0 / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2716, allocations: 0 / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2716, allocations: 0 / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.2717, allocations: 89.05 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.2718, allocations: 77.11 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2718, allocations: 320 / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.2718, allocations: 4 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.2718, allocations: 4 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2718, allocations: 3.984 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.2719, allocations: 83.28 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.365e-06/0.2719, allocations: 0 / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002004/0.2721, allocations: 19.94 kB / 0.7883 GB, free: 8.051 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 (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.0004578/0.2726, allocations: 0.6322 MB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.2728, allocations: 123.3 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2728, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.2729, allocations: 15.97 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2731, allocations: 12.19 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.2746, allocations: 1.373 MB / 0.7904 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2749, allocations: 0.6768 MB / 0.7911 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.2749, allocations: 4 kB / 0.7911 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.275, allocations: 19.44 kB / 0.7911 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.275, allocations: 0 / 0.7911 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.2938, allocations: 1.949 MB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.605, allocations: 22.05 kB / 0.793 GB, free: 3.168 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/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)