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.00111/0.00111, allocations: 105.4 kB / 15.7 MB, free: 24 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.001026/0.001026, allocations: 192.3 kB / 16.64 MB, free: 6.594 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 4.609 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.794/1.794, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00142/0.00142, allocations: 74.3 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2207, 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.001944/0.2227, allocations: 0.6262 MB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2241, allocations: 1.117 MB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.2241, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.223e-05/0.2243, allocations: 7.938 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.2243, allocations: 11.98 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.2247, allocations: 127.9 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.225, allocations: 195.7 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2251, allocations: 27.92 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.2252, allocations: 71.94 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2254, allocations: 67.8 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.2254, allocations: 16 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.2255, allocations: 31.97 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.2256, allocations: 27.91 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.686e-05/0.2257, allocations: 63.84 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2259, allocations: 199.7 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2259, allocations: 7.938 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2259, allocations: 4 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.226, allocations: 0 / 0.7862 GB, free: 10.63 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.0005526/0.2265, allocations: 458.6 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2266, allocations: 8.031 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.2266, allocations: 38.75 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.2267, allocations: 12.84 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.2269, allocations: 216.2 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2269, allocations: 8.375 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.227, allocations: 20.3 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2271, allocations: 95.92 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2271, allocations: 7.938 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2272, allocations: 4 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2272, allocations: 0 / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.2272, allocations: 43.91 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.2278, allocations: 488.8 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.514e-05/0.2279, allocations: 54.2 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.2279, allocations: 33.75 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.2279, allocations: 0 / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.2281, allocations: 121 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2281, allocations: 0 / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002596/0.2283, allocations: 133.5 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.2284, allocations: 81.11 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.2285, allocations: 129.8 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2285, allocations: 33.7 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.2286, allocations: 103.9 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2286, allocations: 19.83 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.2287, allocations: 57.69 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2289, allocations: 314.8 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2291, allocations: 131.8 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2293, allocations: 157 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.2295, allocations: 224.3 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2295, allocations: 0 / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005185/0.23, allocations: 385 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.2301, allocations: 74.2 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2301, allocations: 192 / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2301, allocations: 7.938 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.2302, allocations: 4 kB / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2302, allocations: 4 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.2305, allocations: 59.86 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.2306, allocations: 11.98 kB / 0.7896 GB, free: 6.812 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.0001144/0.2307, allocations: 142.4 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.2307, allocations: 11.89 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.2308, allocations: 7.906 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2308, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2308, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2308, allocations: 3.938 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2309, allocations: 185.6 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2309, allocations: 0 / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-06/0.2309, allocations: 4 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2309, allocations: 0 / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.231, allocations: 0 / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.231, allocations: 7.984 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.231, allocations: 4 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.2311, allocations: 137.7 kB / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.2312, allocations: 81.02 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2312, allocations: 8.047 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.2312, allocations: 4 kB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.2313, allocations: 11.94 kB / 0.7901 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.2313, allocations: 7.984 kB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.2314, allocations: 99.75 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2314, allocations: 0 / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002467/0.2316, allocations: 39.94 kB / 0.7903 GB, free: 5.965 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.0004315/0.2321, allocations: 0.6795 MB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.2325, allocations: 314.6 kB / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2325, allocations: 0 / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.2325, allocations: 35.97 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.0002388/0.2328, allocations: 30.7 kB / 0.7913 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.2351, allocations: 2.181 MB / 0.7934 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2354, allocations: 0.7029 MB / 0.7941 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.2354, allocations: 11.78 kB / 0.7941 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.2355, allocations: 23.42 kB / 0.7942 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2355, allocations: 3.938 kB / 0.7942 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.2544, allocations: 3.452 MB / 0.7975 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.803, allocations: 14.53 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 & 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)