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.RealReplicator.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 252 MB / 267.9 MB, free: 10.93 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.001273/0.001273, allocations: 177.8 kB / 327.6 MB, free: 2.176 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.594/1.594, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007113/0.0007112, allocations: 86.34 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 12.28 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.3459, allocations: 131.4 MB / 1.03 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3462, allocations: 71.95 kB / 1.03 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001689/0.3479, allocations: 0.6568 MB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3479, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.3479, allocations: 4 kB / 1.03 GB, free: 11.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003569/0.3483, allocations: 332.5 kB / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3483, allocations: 8.031 kB / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.3484, allocations: 4.938 kB / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3485, allocations: 176.2 kB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3486, allocations: 8.312 kB / 1.031 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3486, allocations: 4.359 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3488, allocations: 66.23 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3488, allocations: 192 / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3488, allocations: 3.938 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3488, allocations: 4 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.349, allocations: 43.97 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.3494, allocations: 288.8 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.3495, allocations: 30.56 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.3496, allocations: 28.91 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.3496, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3496, allocations: 34.56 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3496, allocations: 3.938 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003142/0.35, allocations: 101.6 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.35, allocations: 51.41 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.3501, allocations: 101.8 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3501, allocations: 25.7 kB / 1.032 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3502, allocations: 88.14 kB / 1.032 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.3502, allocations: 3.906 kB / 1.032 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.3502, allocations: 0 / 1.032 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3503, allocations: 314.8 kB / 1.032 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.3504, allocations: 32 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.3505, allocations: 19.92 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3506, allocations: 48.89 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3506, allocations: 0 / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001721/0.3508, allocations: 77.59 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3508, allocations: 8 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3509, allocations: 0 / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3509, allocations: 0 / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.351, allocations: 11.98 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.351, allocations: 0 / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.351, allocations: 7.984 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.351, allocations: 4 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.693e-05/0.3511, allocations: 117.8 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.3511, allocations: 0 / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.3512, allocations: 7.125 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3512, allocations: 0 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3512, allocations: 0 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3512, allocations: 0 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3514, allocations: 165.6 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3514, allocations: 0 / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.3514, allocations: 8 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3514, allocations: 7.984 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3514, allocations: 0 / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3514, allocations: 0 / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3514, allocations: 0 / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3517, allocations: 183.4 kB / 1.033 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.3518, allocations: 81.02 kB / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3518, allocations: 256 / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.3519, allocations: 12 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.3519, allocations: 3.984 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.3519, allocations: 0 / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.352, allocations: 83.31 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/0.352, allocations: 0 / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001894/0.3522, allocations: 11.88 kB / 1.033 GB, free: 8.559 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 9.578e-05/0.3523, allocations: 99.25 kB / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.3525, allocations: 43.95 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3525, allocations: 0 / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.3526, allocations: 31.86 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.3528, allocations: 5.828 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.3531, allocations: 121.1 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3534, allocations: 0.677 MB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.3534, allocations: 4 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.3534, allocations: 7.438 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/0.3534, allocations: 0 / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of Templates: time 0.00193/0.3554, allocations: 342.5 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)