Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.006481/0.006481, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.00135/0.00135, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.814/1.814, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.695/1.695, allocations: 251.7 MB / 0.5094 GB, free: 3.004 MB / 414.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.001441/0.001441, allocations: 71.89 kB / 0.7258 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 104.7 MB / 0.828 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.003493/0.284, allocations: 1.304 MB / 0.8293 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.2846, allocations: 192.7 kB / 0.8295 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.2847, allocations: 0 / 0.8295 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2849, allocations: 3.938 kB / 0.8295 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.2849, allocations: 3.984 kB / 0.8295 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2852, allocations: 19.92 kB / 0.8295 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2853, allocations: 27.92 kB / 0.8295 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2854, allocations: 4 kB / 0.8295 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.818e-05/0.2855, allocations: 15.92 kB / 0.8296 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.2855, allocations: 15.92 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2856, allocations: 11.94 kB / 0.8296 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.2856, allocations: 4 kB / 0.8296 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.2857, allocations: 3.984 kB / 0.8296 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.2857, allocations: 19.92 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.2859, allocations: 35.83 kB / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2859, allocations: 4 kB / 0.8297 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2859, allocations: 0 / 0.8297 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2859, allocations: 0 / 0.8297 GB, free: 14.67 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006384/0.2866, allocations: 347.5 kB / 0.83 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.2866, allocations: 8.031 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2867, allocations: 12.78 kB / 0.83 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.2869, allocations: 172.3 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2869, allocations: 4.359 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.287, allocations: 8.375 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2871, allocations: 50.19 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2871, allocations: 192 / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2872, allocations: 3.938 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2872, allocations: 0 / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.2872, allocations: 23.98 kB / 0.8303 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.2878, allocations: 276.8 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.2879, allocations: 34.5 kB / 0.8306 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.2879, allocations: 12.92 kB / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.2879, allocations: 0 / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.2881, allocations: 55.41 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2881, allocations: 0 / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001985/0.2883, allocations: 53.62 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2884, allocations: 51.41 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2885, allocations: 113.8 kB / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2885, allocations: 29.7 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.2886, allocations: 92.11 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.2886, allocations: 3.906 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.2887, allocations: 21.72 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2888, allocations: 318.8 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.2888, allocations: 7.984 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.2889, allocations: 17.72 kB / 0.8313 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.2889, allocations: 21.72 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2889, allocations: 0 / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.254e-05/0.289, allocations: 61.62 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2891, allocations: 4 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2891, allocations: 0 / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2891, allocations: 4 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.2892, allocations: 3.984 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2892, allocations: 0 / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.2892, allocations: 11.88 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2893, allocations: 4 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001001/0.2894, allocations: 117.8 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.2894, allocations: 11.89 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.2894, allocations: 3.828 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2894, allocations: 0 / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2894, allocations: 4 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.2895, allocations: 3.984 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2896, allocations: 169.6 kB / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2896, allocations: 0 / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-06/0.2896, allocations: 0 / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2896, allocations: 256 / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2896, allocations: 0 / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2897, allocations: 8 kB / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2897, allocations: 3.938 kB / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.2898, allocations: 81 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2898, allocations: 77.11 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2899, allocations: 7.984 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.2899, allocations: 0 / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.29, allocations: 7.984 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.29, allocations: 0 / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.29, allocations: 87.28 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.29, allocations: 4 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002106/0.2903, allocations: 4 kB / 0.832 GB, free: 11.96 MB / 0.6544 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,booRep.y[3],booPul.pulseStart) * 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 (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.0001356/0.2904, allocations: 95.25 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.2905, allocations: 27.92 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2905, allocations: 0 / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.2906, allocations: 11.94 kB / 0.8321 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2908, allocations: 12.05 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.2912, allocations: 129.9 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2915, allocations: 0.6844 MB / 0.8329 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.2916, allocations: 7.984 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2916, allocations: 7.438 kB / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.2916, allocations: 0 / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.003198/0.2948, allocations: 0.5337 MB / 0.8334 GB, free: 10.4 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)