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.001462/0.001462, allocations: 109.4 kB / 15.69 MB, free: 128 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.001749/0.001749, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.829/1.829, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001742/0.001742, allocations: 64.73 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00196/0.2544, allocations: 0.6194 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.256, allocations: 1.125 MB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.2561, allocations: 4 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2562, allocations: 7.938 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.2563, allocations: 3.984 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.2568, allocations: 118.8 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.2571, allocations: 191.7 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2573, allocations: 27.97 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2574, allocations: 79.89 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.2576, allocations: 71.77 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.2576, allocations: 16 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.2577, allocations: 24 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.2578, allocations: 27.95 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.2579, allocations: 71.7 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.2582, allocations: 199.8 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2583, allocations: 4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2583, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2583, allocations: 0 / 0.7862 GB, free: 10.64 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.0006691/0.2589, allocations: 450.7 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.259, allocations: 12.03 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.259, allocations: 38.75 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.2591, allocations: 16.83 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.2594, allocations: 216.2 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2594, allocations: 20.25 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2594, allocations: 12.36 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.2596, allocations: 103.9 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2596, allocations: 3.938 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2596, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2597, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.2597, allocations: 43.91 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.2603, allocations: 488.8 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.2604, allocations: 62.19 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.2605, allocations: 21.77 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.2605, allocations: 4 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.2606, allocations: 124.9 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.2606, allocations: 0 / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002833/0.2609, allocations: 133.5 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.261, allocations: 77.11 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2611, allocations: 145.7 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.2612, allocations: 29.7 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.2612, allocations: 95.95 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.2613, allocations: 19.84 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2614, allocations: 57.67 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2615, allocations: 314.8 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.2617, allocations: 123.9 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.262, allocations: 161 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.2623, allocations: 224.3 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2623, allocations: 0 / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005563/0.2628, allocations: 380.6 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.2629, allocations: 71.58 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2629, allocations: 4 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2629, allocations: 4 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.213e-05/0.263, allocations: 0 / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.263, allocations: 7.938 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.2634, allocations: 63.84 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.2634, allocations: 12.38 kB / 0.7895 GB, free: 6.816 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.0002006/0.2636, allocations: 146.4 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.2636, allocations: 3.906 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.2637, allocations: 15.89 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2637, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2637, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2637, allocations: 7.938 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2639, allocations: 185.6 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2639, allocations: 0 / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.2639, allocations: 7.984 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2639, allocations: 4 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2639, allocations: 0 / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2639, allocations: 4 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2639, allocations: 0 / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2641, allocations: 137.7 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.2641, allocations: 85.02 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2642, allocations: 4 kB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/0.2642, allocations: 4 kB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.2642, allocations: 11.92 kB / 0.7901 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2643, allocations: 0 / 0.7901 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.2643, allocations: 103.3 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2643, allocations: 3.938 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002626/0.2646, allocations: 31.94 kB / 0.7903 GB, free: 5.969 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.0004798/0.2651, allocations: 0.6826 MB / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.2655, allocations: 326.6 kB / 0.7912 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2655, allocations: 0 / 0.7912 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.2656, allocations: 27.98 kB / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.2659, allocations: 34.66 kB / 0.7913 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.2683, allocations: 2.169 MB / 0.7934 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2686, allocations: 0.7002 MB / 0.7941 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.487e-05/0.2687, allocations: 11.72 kB / 0.7941 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.2687, allocations: 23.42 kB / 0.7941 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2687, allocations: 0 / 0.7941 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.2903, allocations: 3.473 MB / 0.7975 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.777, allocations: 7.984 kB / 0.7975 GB, free: 14.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --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)