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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.58/1.58, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 86.53 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.101e-05/4.104e-05, allocations: 7.984 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1967, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7825/0.9793, allocations: 131.4 MB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.9796, allocations: 75.75 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001929/0.9816, allocations: 0.6725 MB / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9816, allocations: 4 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.9816, allocations: 4 kB / 1.021 GB, free: 2.645 MB / 0.6355 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.0003969/0.982, allocations: 335.5 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.9821, allocations: 8.031 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.9821, allocations: 34.56 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.9822, allocations: 3.906 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.9824, allocations: 178.2 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.9824, allocations: 8 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.9824, allocations: 0 / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.9825, allocations: 53.38 kB / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9825, allocations: 0 / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.9826, allocations: 2.625 kB / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9826, allocations: 0 / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.9826, allocations: 11.88 kB / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.9831, allocations: 285.5 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.608e-05/0.9832, allocations: 29.52 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.9833, allocations: 12.23 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.9833, allocations: 0 / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.9834, allocations: 59.27 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.9834, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001742/0.9836, allocations: 52.86 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.9836, allocations: 55.34 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.9837, allocations: 100.5 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.9838, allocations: 29.14 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.9838, allocations: 84.14 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.9838, allocations: 7.719 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.9838, allocations: 0 / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.984, allocations: 321.6 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.984, allocations: 6.75 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.984, allocations: 20.7 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.042e-05/0.9841, allocations: 4 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9841, allocations: 0 / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.078e-05/0.9842, allocations: 56.88 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9842, allocations: 11.88 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9842, allocations: 4.031 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9842, allocations: 4 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.9843, allocations: 0 / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.9843, allocations: 3.953 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.9844, allocations: 12.86 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.9844, allocations: 0 / 1.023 GB, free: 0.7305 MB / 0.6355 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,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.9845, allocations: 105 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.9845, allocations: 3.906 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.9845, allocations: 11.31 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.9845, allocations: 4 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9845, allocations: 0 / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9845, allocations: 3.953 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.9847, allocations: 164.3 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9847, allocations: 2.875 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-06/0.9847, allocations: 3.938 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9847, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.9847, allocations: 3.984 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9847, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9847, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.9849, allocations: 79.89 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.9849, allocations: 81.11 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.9849, allocations: 0 / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.985, allocations: 7.984 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.985, allocations: 4 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.985, allocations: 240 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.9851, allocations: 86.78 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9851, allocations: 0 / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000173/0.9853, allocations: 8 kB / 1.023 GB, free: 100 kB / 0.6355 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 () * 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.0004162/0.9857, allocations: 0.6187 MB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.922e-05/0.9858, allocations: 19.69 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9858, allocations: 4.062 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.9858, allocations: 15.92 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.986, allocations: 7.438 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.9863, allocations: 102.2 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.9866, allocations: 0.6848 MB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.9866, allocations: 7.922 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.9867, allocations: 15.25 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.9867, allocations: 4 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.9996, allocations: 1.208 MB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/0.9999, allocations: 179.8 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.818, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)