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.508/1.508, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 180 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008346/0.0008344, allocations: 99.39 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 9.094 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.3832, allocations: 131.4 MB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.3835, allocations: 75.95 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001816/0.3854, allocations: 0.6649 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3854, allocations: 0 / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3854, allocations: 3.938 kB / 1.029 GB, free: 11.49 MB / 0.6823 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.0004732/0.3859, allocations: 357.1 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3859, allocations: 8.031 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.386, allocations: 46.5 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.386, allocations: 3.906 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3862, allocations: 175 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3863, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3863, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.3864, allocations: 41.69 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3864, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3864, allocations: 12 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3864, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.3865, allocations: 15.98 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.3869, allocations: 280.8 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.093e-05/0.387, allocations: 34.56 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.387, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.829e-05/0.3871, allocations: 55.41 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.3871, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001681/0.3873, allocations: 53.59 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3874, allocations: 59.36 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.3874, allocations: 96.98 kB / 1.03 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.3875, allocations: 37.7 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.3875, allocations: 80.14 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.3876, allocations: 3.906 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.3876, allocations: 4 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3877, allocations: 318.8 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.3877, allocations: 4 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.3878, allocations: 21.66 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.3878, allocations: 19.92 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3878, allocations: 0 / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.312e-05/0.3879, allocations: 49.61 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3879, allocations: 7.984 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3879, allocations: 3.938 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3879, allocations: 0 / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.388, allocations: 7.938 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.388, allocations: 0 / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.3881, allocations: 11.95 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3881, allocations: 4.031 kB / 1.031 GB, free: 9.484 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.3882, allocations: 118.2 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.3882, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.3882, allocations: 11.48 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3882, allocations: 4 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3882, allocations: 0 / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3882, allocations: 0 / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3884, allocations: 165.6 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3884, allocations: 256 / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.3884, allocations: 4 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3884, allocations: 4 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3884, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3884, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3884, allocations: 4 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.3885, allocations: 77.02 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3886, allocations: 89 kB / 1.031 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3886, allocations: 0 / 1.031 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.3887, allocations: 8 kB / 1.031 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3887, allocations: 7.984 kB / 1.031 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.3887, allocations: 0 / 1.031 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.3888, allocations: 83.28 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3888, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001846/0.389, allocations: 4 kB / 1.032 GB, free: 8.816 MB / 0.6823 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 (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.0003851/0.3894, allocations: 0.6208 MB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.3895, allocations: 23.98 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3895, allocations: 0 / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.3895, allocations: 4 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.3897, allocations: 15.12 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.3904, allocations: 0.5506 MB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3907, allocations: 0.6848 MB / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.3907, allocations: 4 kB / 1.033 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.3907, allocations: 7.438 kB / 1.033 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/0.3907, allocations: 4 kB / 1.033 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.4038, allocations: 1.203 MB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.4041, allocations: 201.8 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.924, allocations: 4 kB / 1.035 GB, free: 5.523 MB / 0.6823 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)