Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.606/1.606, allocations: 297.8 MB / 313.8 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009296/0.0009296, allocations: 168.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007043/0.0007043, allocations: 93.73 kB / 0.7808 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003986, allocations: 16.97 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5808, allocations: 120.3 MB / 1.026 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.7499, allocations: 140.8 MB / 1.164 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.7502, allocations: 73.67 kB / 1.164 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002379/0.7525, allocations: 0.9172 MB / 1.165 GB, free: 496 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7526, allocations: 0 / 1.165 GB, free: 496 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7526, allocations: 4 kB / 1.165 GB, free: 492 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004535/0.753, allocations: 385 kB / 1.165 GB, free: 56 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7531, allocations: 8.562 kB / 1.165 GB, free: 48 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.7531, allocations: 11.03 kB / 1.165 GB, free: 40 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.7533, allocations: 200.1 kB / 1.165 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.7533, allocations: 384 / 1.165 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.7533, allocations: 4.375 kB / 1.165 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.7537, allocations: 151.7 kB / 1.165 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7537, allocations: 0.75 kB / 1.166 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.7537, allocations: 7.922 kB / 1.166 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7537, allocations: 4 kB / 1.166 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.7541, allocations: 151.8 kB / 1.166 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.7544, allocations: 392.9 kB / 1.166 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.7547, allocations: 102.4 kB / 1.166 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.7549, allocations: 65.72 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.7549, allocations: 7.984 kB / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.7549, allocations: 38.5 kB / 1.166 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7549, allocations: 0 / 1.166 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0006146/0.7555, allocations: 217.5 kB / 1.166 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.7556, allocations: 85.25 kB / 1.167 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.7557, allocations: 117.8 kB / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.7557, allocations: 25.7 kB / 1.167 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.7557, allocations: 99.97 kB / 1.167 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.7558, allocations: 7.906 kB / 1.167 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.7558, allocations: 0 / 1.167 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.7559, allocations: 314.8 kB / 1.167 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.7561, allocations: 67.92 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.7562, allocations: 77.64 kB / 1.167 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.7565, allocations: 129.6 kB / 1.167 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7566, allocations: 0 / 1.167 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003467/0.7569, allocations: 157.5 kB / 1.167 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7569, allocations: 8 kB / 1.167 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7569, allocations: 0 / 1.167 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.757, allocations: 0 / 1.167 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.7571, allocations: 31.97 kB / 1.168 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.7571, allocations: 4 kB / 1.168 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.7572, allocations: 27.84 kB / 1.168 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.7572, allocations: 4 kB / 1.168 GB, free: 13.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.898e-05/0.7573, allocations: 122.7 kB / 1.168 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.7574, allocations: 4 kB / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.7574, allocations: 15.52 kB / 1.168 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7574, allocations: 1.406 kB / 1.168 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7574, allocations: 3.938 kB / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.7574, allocations: 3.938 kB / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.7576, allocations: 177.6 kB / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7576, allocations: 0 / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.7578, allocations: 27.97 kB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7578, allocations: 4 kB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.7578, allocations: 0 / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.7578, allocations: 4 kB / 1.168 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7578, allocations: 3.984 kB / 1.168 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.7582, allocations: 334.5 kB / 1.168 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.7583, allocations: 77.11 kB / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.7583, allocations: 4 kB / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.7584, allocations: 28 kB / 1.168 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7585, allocations: 11.92 kB / 1.168 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.7585, allocations: 0 / 1.168 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.496e-05/0.7586, allocations: 95.27 kB / 1.168 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7586, allocations: 0 / 1.168 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002409/0.7588, allocations: 15.84 kB / 1.168 GB, free: 12.38 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001349/0.759, allocations: 103.2 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.7593, allocations: 135.9 kB / 1.169 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7594, allocations: 0 / 1.169 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.7595, allocations: 71.92 kB / 1.169 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.7599, allocations: 13.38 kB / 1.169 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.7602, allocations: 174 kB / 1.169 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.7605, allocations: 0.7043 MB / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.7605, allocations: 17.86 kB / 1.17 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.7606, allocations: 7.438 kB / 1.17 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.7606, allocations: 0 / 1.17 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of Templates: time 0.00236/0.763, allocations: 0.6261 MB / 1.17 GB, free: 10.51 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)