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.0009412/0.0009412, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009124/0.0009123, allocations: 177.3 kB / 15.95 MB, free: 216 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.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.702/1.702, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005213/0.0005213, allocations: 17.16 kB / 0.6736 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.282, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001116/0.2832, allocations: 352.1 kB / 0.7875 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2853, allocations: 1.074 MB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.2854, allocations: 0 / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.2855, allocations: 3.938 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.2856, allocations: 7.984 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.2864, allocations: 110.6 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.2866, allocations: 39.89 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2867, allocations: 12 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2868, allocations: 31.95 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.287, allocations: 23.91 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.287, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.2872, allocations: 19.98 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.2872, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.2873, allocations: 37.64 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2875, allocations: 59.84 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2875, allocations: 0 / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2875, allocations: 0 / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2875, allocations: 0 / 0.7889 GB, free: 10.19 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.0005488/0.288, allocations: 373.2 kB / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2881, allocations: 12.03 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.2882, allocations: 4 kB / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.2885, allocations: 179 kB / 0.7894 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2885, allocations: 4 kB / 0.7894 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2886, allocations: 4 kB / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.2887, allocations: 45.69 kB / 0.7894 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2887, allocations: 0 / 0.7894 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2887, allocations: 7.984 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2887, allocations: 4 kB / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.498e-05/0.2888, allocations: 11.94 kB / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.2892, allocations: 304.7 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.223e-05/0.2893, allocations: 26.52 kB / 0.7898 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.2893, allocations: 7.922 kB / 0.7898 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.2895, allocations: 63.39 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2895, allocations: 0 / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000201/0.2897, allocations: 65.58 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2897, allocations: 51.41 kB / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.2898, allocations: 113.8 kB / 0.7901 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2899, allocations: 29.7 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.2899, allocations: 88.12 kB / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.2899, allocations: 7.906 kB / 0.7902 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.29, allocations: 4 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2901, allocations: 314.8 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.2901, allocations: 35.91 kB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.2902, allocations: 42.56 kB / 0.7906 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.793e-05/0.2903, allocations: 57.69 kB / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2903, allocations: 0 / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002436/0.2906, allocations: 151.2 kB / 0.7908 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.2906, allocations: 33.7 kB / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2907, allocations: 0 / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2907, allocations: 320 / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.826e-05/0.2907, allocations: 4 kB / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.2907, allocations: 3.984 kB / 0.7908 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.2909, allocations: 44.06 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.291, allocations: 11.95 kB / 0.7909 GB, free: 7.879 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 0.0001063/0.2911, allocations: 113.8 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.2911, allocations: 3.984 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.2911, allocations: 11.91 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2912, allocations: 0 / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2912, allocations: 0 / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2912, allocations: 0 / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.2913, allocations: 169.6 kB / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.2913, allocations: 0 / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.2913, allocations: 0 / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2913, allocations: 0 / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2913, allocations: 4 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2914, allocations: 0 / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2914, allocations: 0 / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.2915, allocations: 84.92 kB / 0.7912 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2915, allocations: 77.11 kB / 0.7913 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2915, allocations: 11.98 kB / 0.7913 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.57e-05/0.2916, allocations: 4 kB / 0.7913 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.2916, allocations: 0 / 0.7913 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2916, allocations: 11.88 kB / 0.7913 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.2917, allocations: 83.27 kB / 0.7914 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2917, allocations: 0 / 0.7914 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002059/0.2919, allocations: 16 kB / 0.7914 GB, free: 7.195 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.0001644/0.2921, allocations: 99.25 kB / 0.7915 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2923, allocations: 119.7 kB / 0.7916 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2923, allocations: 0 / 0.7916 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.2924, allocations: 19.92 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.2925, allocations: 7.953 kB / 0.7917 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.2929, allocations: 142.9 kB / 0.7918 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2932, allocations: 0.6887 MB / 0.7925 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.2932, allocations: 4 kB / 0.7925 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2932, allocations: 7.438 kB / 0.7925 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.2932, allocations: 0 / 0.7925 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.003428/0.2967, allocations: 0.9724 MB / 0.7934 GB, free: 5.086 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: