Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.001206/0.001206, allocations: 108 kB / 15.61 MB, free: 152 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.001226/0.001226, allocations: 194.3 kB / 16.53 MB, free: 6.66 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.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.896/1.896, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001606/0.001606, allocations: 71.86 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, 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.BooleanVectorReplicator): time 0.002054/0.2446, allocations: 0.6391 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2461, allocations: 1.121 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.2462, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.2463, allocations: 3.938 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.2464, allocations: 11.94 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.2469, allocations: 115.3 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.2472, allocations: 195.7 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2473, allocations: 16 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2474, allocations: 83.88 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2476, allocations: 55.81 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.2476, allocations: 16 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2477, allocations: 31.92 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.2478, allocations: 27.95 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2479, allocations: 67.77 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.2482, allocations: 195.8 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2482, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2482, allocations: 4 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.2482, allocations: 0 / 0.786 GB, free: 10.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006537/0.2489, allocations: 458.7 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2489, allocations: 8.031 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.249, allocations: 34.75 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.2491, allocations: 16.83 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2493, allocations: 220.1 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2494, allocations: 12.38 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.2494, allocations: 8.375 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.2496, allocations: 107.8 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2496, allocations: 3.938 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.2497, allocations: 4 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2497, allocations: 0 / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.2498, allocations: 47.91 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.2504, allocations: 492.8 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.2505, allocations: 54.19 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.2506, allocations: 33.7 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.2506, allocations: 0 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.2508, allocations: 121 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2508, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003276/0.2512, allocations: 133.8 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.2512, allocations: 77.11 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2514, allocations: 137.8 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.2514, allocations: 33.7 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.2515, allocations: 99.95 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2516, allocations: 15.84 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2517, allocations: 57.67 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2518, allocations: 314.8 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.2521, allocations: 123.9 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.2523, allocations: 165 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2526, allocations: 232.3 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2527, allocations: 0 / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000633/0.2533, allocations: 376.6 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.758e-05/0.2534, allocations: 67.58 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2534, allocations: 4 kB / 0.7893 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.2534, allocations: 4 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.879e-05/0.2535, allocations: 0 / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2535, allocations: 4 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.254, allocations: 67.84 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.254, allocations: 11.98 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001573/0.2542, allocations: 138.4 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.2542, allocations: 11.91 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.2543, allocations: 7.906 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2543, allocations: 0 / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2543, allocations: 0 / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/0.2543, allocations: 7.922 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2545, allocations: 189.6 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2546, allocations: 0 / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.2546, allocations: 4 kB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2546, allocations: 4 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2546, allocations: 0 / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2546, allocations: 7.938 kB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2546, allocations: 0 / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.2548, allocations: 141.7 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.2549, allocations: 81.02 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.2549, allocations: 4 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.2549, allocations: 4.062 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.255, allocations: 15.92 kB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.255, allocations: 4 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.2551, allocations: 99.25 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2551, allocations: 4 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002703/0.2554, allocations: 35.94 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000723/0.2561, allocations: 0.6756 MB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.2566, allocations: 322.6 kB / 0.7911 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2566, allocations: 0 / 0.7911 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.2567, allocations: 35.97 kB / 0.7911 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.257, allocations: 31.73 kB / 0.7911 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.2597, allocations: 2.159 MB / 0.7932 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.2601, allocations: 0.7107 MB / 0.7939 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.2602, allocations: 8 kB / 0.7939 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.2602, allocations: 23.42 kB / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of SimCode: time 9.52e-07/0.2603, allocations: 0 / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.282, allocations: 3.445 MB / 0.7973 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.273, allocations: 3.75 kB / 0.7973 GB, free: 14.65 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)