Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.798/1.798, allocations: 287.5 MB / 302.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 178.8 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008423/0.0008425, allocations: 88.55 kB / 0.7432 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 11.11 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2491, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0007813/0.2499, allocations: 349.9 kB / 0.979 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.2508, allocations: 0.7932 MB / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.2508, allocations: 0 / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.404e-05/0.2509, allocations: 0 / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.251, allocations: 7.938 kB / 0.9798 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.451e-05/0.2511, allocations: 4 kB / 0.9798 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.2511, allocations: 19.92 kB / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.2512, allocations: 12 kB / 0.9798 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.2513, allocations: 7.984 kB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.2513, allocations: 15.92 kB / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2513, allocations: 0 / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.2513, allocations: 0 / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.2514, allocations: 4 kB / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.2514, allocations: 25.7 kB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.965e-05/0.2515, allocations: 27.94 kB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2515, allocations: 3.938 kB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2515, allocations: 4 kB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2515, allocations: 0 / 0.9799 GB, free: 26.93 MB / 0.6198 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.0003586/0.2519, allocations: 343.7 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2519, allocations: 11.97 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.252, allocations: 4.938 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2521, allocations: 172.3 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2521, allocations: 384 / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2521, allocations: 4.375 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.2523, allocations: 66.23 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2523, allocations: 192 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2523, allocations: 3.938 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2523, allocations: 4 kB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.2525, allocations: 47.95 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.2528, allocations: 280.8 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.253, allocations: 42.5 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.253, allocations: 28.89 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.2531, allocations: 0 / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2531, allocations: 34.56 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2531, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.00032/0.2534, allocations: 97.58 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2535, allocations: 55.53 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.2535, allocations: 97.86 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.2535, allocations: 25.7 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.2536, allocations: 92.03 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.2536, allocations: 3.938 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.2536, allocations: 0 / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.2536, allocations: 318.8 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.2537, allocations: 23.98 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.2538, allocations: 19.98 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.2539, allocations: 52.81 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2539, allocations: 3.938 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001657/0.2541, allocations: 73.56 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2541, allocations: 10.5 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2542, allocations: 4.031 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2542, allocations: 0 / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.2543, allocations: 8 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2543, allocations: 0 / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.2543, allocations: 7.984 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2543, allocations: 0 / 0.9818 GB, free: 24.82 MB / 0.6198 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 5.325e-05/0.2544, allocations: 121.8 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.2544, allocations: 0 / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.2544, allocations: 11.11 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2545, allocations: 3.984 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2545, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2545, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.2546, allocations: 157.6 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2546, allocations: 4 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.2547, allocations: 11.92 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2547, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2547, allocations: 8 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2547, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2547, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.2549, allocations: 175.5 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.2549, allocations: 77.11 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2549, allocations: 256 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.255, allocations: 11.98 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.2551, allocations: 7.938 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2551, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.2551, allocations: 87.27 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2551, allocations: 0 / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001928/0.2553, allocations: 8.031 kB / 0.9824 GB, free: 24.05 MB / 0.6198 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 7.829e-05/0.2554, allocations: 95.25 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2556, allocations: 43.91 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2556, allocations: 4.062 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.2557, allocations: 23.97 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2559, allocations: 3.938 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.2562, allocations: 120.5 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2563, allocations: 0.6888 MB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.2564, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.2564, allocations: 11.44 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2564, allocations: 0 / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.002092/0.2585, allocations: 339.9 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)