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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008299/0.0008301, allocations: 86.72 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.0009967/0.0009964, 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.426/1.426, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.66/1.66, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005435/0.0005436, allocations: 19.81 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.239, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0008224/0.2399, allocations: 357.8 kB / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2414, allocations: 1.087 MB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.2415, allocations: 4 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.417e-05/0.2415, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.2416, allocations: 11.91 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.2421, allocations: 110.1 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2422, allocations: 67.83 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.2423, allocations: 15.98 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.2424, allocations: 23.98 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.2424, allocations: 27.89 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2425, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.2425, allocations: 19.98 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.2426, allocations: 11.92 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.2427, allocations: 33.7 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2428, allocations: 59.81 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2428, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2428, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2428, allocations: 4 kB / 0.7891 GB, free: 10.11 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.0004038/0.2432, allocations: 369.2 kB / 0.7894 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2433, allocations: 12.03 kB / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.2433, allocations: 4 kB / 0.7894 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2435, allocations: 183 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2436, allocations: 0 / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.2436, allocations: 8 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2437, allocations: 53.61 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2437, allocations: 0 / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2437, allocations: 4 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2438, allocations: 0 / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.2438, allocations: 12 kB / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.2442, allocations: 300.7 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.2443, allocations: 30.5 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.2443, allocations: 8.922 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.2443, allocations: 4 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.2445, allocations: 59.39 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2445, allocations: 4 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001766/0.2447, allocations: 65.53 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2447, allocations: 51.41 kB / 0.7902 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.2448, allocations: 109.8 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2448, allocations: 29.7 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.2449, allocations: 88.14 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.2449, allocations: 7.906 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.2449, allocations: 0 / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.245, allocations: 322.8 kB / 0.7907 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.2451, allocations: 23.98 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.392e-05/0.2452, allocations: 50.5 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.896e-05/0.2453, allocations: 61.62 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2453, allocations: 0 / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002574/0.2456, allocations: 147.2 kB / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.2456, allocations: 41.69 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.2456, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2456, allocations: 240 / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.189e-05/0.2457, allocations: 7.938 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2457, allocations: 0 / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.2459, allocations: 40.02 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.246, allocations: 8 kB / 0.7911 GB, free: 7.797 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 9.052e-05/0.2461, allocations: 118.5 kB / 0.7912 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.2461, allocations: 4.297 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.2461, allocations: 7.906 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2461, allocations: 0 / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.2461, allocations: 8 kB / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2461, allocations: 0 / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.2463, allocations: 169.6 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2463, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.2463, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2463, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2463, allocations: 4 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2463, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2463, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2464, allocations: 92.91 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.2465, allocations: 77.11 kB / 0.7915 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2465, allocations: 4 kB / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.2465, allocations: 0 / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.2466, allocations: 0 / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2466, allocations: 0 / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.2466, allocations: 91.27 kB / 0.7916 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2466, allocations: 0 / 0.7916 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002106/0.2468, allocations: 12 kB / 0.7916 GB, free: 7.117 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.0001627/0.247, allocations: 111.2 kB / 0.7918 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.2472, allocations: 123.3 kB / 0.7919 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2472, allocations: 3.938 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.2473, allocations: 8 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.2475, allocations: 11.95 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.2478, allocations: 134.9 kB / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.248, allocations: 0.6848 MB / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.2481, allocations: 4 kB / 0.7927 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.2481, allocations: 11.38 kB / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2481, allocations: 0 / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.003254/0.2513, allocations: 0.9617 MB / 0.7936 GB, free: 5.008 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: