Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.0009241, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008705/0.0008704, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005223, allocations: 18.25 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0007219/0.2209, allocations: 368 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007879/0.2217, allocations: 0.787 MB / 0.7882 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.2217, allocations: 0 / 0.7882 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.21e-05/0.2218, allocations: 3.938 kB / 0.7882 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.774e-05/0.2218, allocations: 7.984 kB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.977e-05/0.2219, allocations: 4 kB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.222, allocations: 19.91 kB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.2221, allocations: 8 kB / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.2221, allocations: 7.984 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.2221, allocations: 7.938 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2222, allocations: 4 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.2222, allocations: 0 / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.2222, allocations: 7.984 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.2223, allocations: 29.7 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.678e-05/0.2223, allocations: 19.94 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2223, allocations: 0 / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2223, allocations: 4 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2223, allocations: 4 kB / 0.7884 GB, free: 10.65 MB / 0.6075 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.000416/0.2228, allocations: 343.5 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2228, allocations: 8.031 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.2228, allocations: 4 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.223, allocations: 175 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.223, allocations: 4 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.2231, allocations: 0 / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2232, allocations: 61.67 kB / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2233, allocations: 0 / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2233, allocations: 0 / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2233, allocations: 0 / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.2235, allocations: 51.97 kB / 0.789 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.2239, allocations: 280.8 kB / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.224, allocations: 42.56 kB / 0.7893 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.224, allocations: 7.922 kB / 0.7893 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.224, allocations: 30.56 kB / 0.7893 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.224, allocations: 0 / 0.7893 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003371/0.2244, allocations: 101.6 kB / 0.7894 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2244, allocations: 51.41 kB / 0.7895 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.2245, allocations: 101.8 kB / 0.7896 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2245, allocations: 29.64 kB / 0.7896 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2246, allocations: 92.17 kB / 0.7897 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.2246, allocations: 3.938 kB / 0.7897 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2246, allocations: 0 / 0.7897 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.2247, allocations: 318.8 kB / 0.79 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.2248, allocations: 23.97 kB / 0.79 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.2249, allocations: 19.98 kB / 0.79 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.225, allocations: 23.98 kB / 0.7901 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.225, allocations: 0 / 0.7901 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001934/0.2252, allocations: 77.66 kB / 0.7901 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2252, allocations: 8 kB / 0.7901 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2252, allocations: 0 / 0.7901 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2252, allocations: 0 / 0.7901 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.2253, allocations: 11.98 kB / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2253, allocations: 0 / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.2253, allocations: 4 kB / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2254, allocations: 8.031 kB / 0.7902 GB, free: 8.59 MB / 0.6075 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 6.505e-05/0.2254, allocations: 109.8 kB / 0.7903 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2255, allocations: 7.891 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2255, allocations: 11.12 kB / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.2255, allocations: 0 / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2255, allocations: 256 / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2255, allocations: 0 / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2257, allocations: 165.6 kB / 0.7904 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2257, allocations: 3.984 kB / 0.7905 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.2257, allocations: 8 kB / 0.7905 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2257, allocations: 4 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.2258, allocations: 0 / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2258, allocations: 0 / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2258, allocations: 3.938 kB / 0.7905 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.226, allocations: 175.4 kB / 0.7906 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.226, allocations: 77.11 kB / 0.7907 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.2261, allocations: 0 / 0.7907 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.2261, allocations: 11.98 kB / 0.7907 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.2262, allocations: 0 / 0.7907 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.2262, allocations: 32 / 0.7907 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.2262, allocations: 91.27 kB / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2262, allocations: 0 / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002041/0.2264, allocations: 4 kB / 0.7908 GB, free: 7.832 MB / 0.6075 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 0.000103/0.2265, allocations: 95.25 kB / 0.7909 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.2267, allocations: 43.97 kB / 0.7909 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2267, allocations: 0 / 0.7909 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.2268, allocations: 35.84 kB / 0.791 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.227, allocations: 7.953 kB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.2273, allocations: 120.8 kB / 0.7911 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.2275, allocations: 0.6809 MB / 0.7918 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.2275, allocations: 3.984 kB / 0.7918 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.2276, allocations: 7.438 kB / 0.7918 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2276, allocations: 0 / 0.7918 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.001989/0.2296, allocations: 338.4 kB / 0.7921 GB, free: 6.457 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1) Environment - environmentSimulation: