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.0008223/0.0008223, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006466/0.006466, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.684/1.684, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.605/1.605, allocations: 252 MB / 0.5105 GB, free: 4.574 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.0005526/0.0005526, allocations: 12 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6929, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001399/0.6944, allocations: 1.03 MB / 0.7297 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000393/0.6948, allocations: 188.3 kB / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.6949, allocations: 4 kB / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.045e-05/0.695, allocations: 11.94 kB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.137e-05/0.695, allocations: 3.984 kB / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.6952, allocations: 11.94 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.957e-05/0.6952, allocations: 27.92 kB / 0.73 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.6953, allocations: 4 kB / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.6954, allocations: 15.91 kB / 0.73 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.6954, allocations: 8 kB / 0.73 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.6955, allocations: 3.938 kB / 0.73 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.6955, allocations: 0 / 0.73 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.6956, allocations: 7.984 kB / 0.73 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.6956, allocations: 41.64 kB / 0.7301 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.626e-05/0.6957, allocations: 35.88 kB / 0.7301 GB, free: 9.852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6957, allocations: 0 / 0.7301 GB, free: 9.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6957, allocations: 0 / 0.7301 GB, free: 9.852 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.6958, allocations: 0 / 0.7301 GB, free: 9.852 MB / 0.545 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.0004784/0.6962, allocations: 353.3 kB / 0.7304 GB, free: 9.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6963, allocations: 8.031 kB / 0.7304 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.6963, allocations: 8.844 kB / 0.7304 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.6965, allocations: 168.4 kB / 0.7306 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6965, allocations: 8.375 kB / 0.7306 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.6965, allocations: 384 / 0.7306 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.6966, allocations: 46.25 kB / 0.7307 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6966, allocations: 4.125 kB / 0.7307 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.6967, allocations: 7.938 kB / 0.7307 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6967, allocations: 0 / 0.7307 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.6967, allocations: 15.98 kB / 0.7307 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.6972, allocations: 292.7 kB / 0.731 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.6972, allocations: 30.56 kB / 0.731 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.6972, allocations: 8.922 kB / 0.731 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.6973, allocations: 0 / 0.731 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.6974, allocations: 63.34 kB / 0.7311 GB, free: 8.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6974, allocations: 0 / 0.7311 GB, free: 8.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001601/0.6976, allocations: 53.69 kB / 0.7311 GB, free: 8.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6976, allocations: 51.41 kB / 0.7312 GB, free: 8.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.6977, allocations: 109.8 kB / 0.7313 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.6977, allocations: 25.7 kB / 0.7313 GB, free: 8.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.6978, allocations: 92.05 kB / 0.7314 GB, free: 8.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.6978, allocations: 7.906 kB / 0.7314 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.6978, allocations: 17.7 kB / 0.7314 GB, free: 8.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.698, allocations: 318.8 kB / 0.7317 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.698, allocations: 4 kB / 0.7317 GB, free: 7.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.6981, allocations: 25.64 kB / 0.7317 GB, free: 7.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.6981, allocations: 22 kB / 0.7318 GB, free: 7.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6981, allocations: 4 kB / 0.7318 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.946e-05/0.6982, allocations: 61.61 kB / 0.7318 GB, free: 7.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6982, allocations: 8 kB / 0.7318 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6983, allocations: 0 / 0.7318 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.6983, allocations: 0 / 0.7318 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.6983, allocations: 4 kB / 0.7318 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.6983, allocations: 0 / 0.7318 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.6984, allocations: 7.984 kB / 0.7318 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.6984, allocations: 0 / 0.7318 GB, free: 7.824 MB / 0.545 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 9.395e-05/0.6985, allocations: 121.8 kB / 0.732 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.6985, allocations: 4 kB / 0.732 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.6985, allocations: 7.484 kB / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6986, allocations: 0 / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6986, allocations: 3.938 kB / 0.732 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6986, allocations: 0 / 0.732 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.6988, allocations: 169.5 kB / 0.7321 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6988, allocations: 3.984 kB / 0.7321 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.6988, allocations: 7.938 kB / 0.7321 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6988, allocations: 0 / 0.7321 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6988, allocations: 4 kB / 0.7321 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6988, allocations: 0 / 0.7321 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.6988, allocations: 0 / 0.7321 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.513e-05/0.6989, allocations: 80.97 kB / 0.7322 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.699, allocations: 77.11 kB / 0.7323 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.699, allocations: 0 / 0.7323 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.699, allocations: 11.98 kB / 0.7323 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.6991, allocations: 4 kB / 0.7323 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.6991, allocations: 4 kB / 0.7323 GB, free: 7.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.6991, allocations: 91.52 kB / 0.7324 GB, free: 7.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6991, allocations: 3.938 kB / 0.7324 GB, free: 7.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001753/0.6993, allocations: 4 kB / 0.7324 GB, free: 7.137 MB / 0.545 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.0001319/0.6995, allocations: 103.2 kB / 0.7325 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.865e-05/0.6996, allocations: 23.92 kB / 0.7325 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6996, allocations: 0 / 0.7325 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.6996, allocations: 12.06 kB / 0.7325 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.6998, allocations: 12.92 kB / 0.7326 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.7001, allocations: 146.4 kB / 0.7327 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.7004, allocations: 0.6809 MB / 0.7334 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.7004, allocations: 0 / 0.7334 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.7004, allocations: 19.38 kB / 0.7334 GB, free: 6.086 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.7004, allocations: 0 / 0.7334 GB, free: 6.086 MB / 0.545 GB Notification: Performance of Templates: time 0.002532/0.703, allocations: 465.3 kB / 0.7338 GB, free: 5.637 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: