Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 167.2 kB / 25.17 MB, free: 8.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9238/0.9238, allocations: 177.1 MB / 205.6 MB, free: 4.348 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.968/1.968, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.612e-05, allocations: 6.25 kB / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001397/0.001423, allocations: 0.705 MB / 0.7763 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.002193, allocations: 0.8392 MB / 0.7771 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.002241, allocations: 4 kB / 0.7771 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.002343, allocations: 3.938 kB / 0.7771 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.315e-05/0.002367, allocations: 0 / 0.7771 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.533e-05/0.002462, allocations: 7.984 kB / 0.7771 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.002528, allocations: 27.86 kB / 0.7771 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.37e-05/0.002602, allocations: 8 kB / 0.7771 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.002663, allocations: 19.91 kB / 0.7771 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.00271, allocations: 11.98 kB / 0.7772 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.002723, allocations: 0 / 0.7772 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.002732, allocations: 8 kB / 0.7772 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.002776, allocations: 3.938 kB / 0.7772 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.002801, allocations: 11.98 kB / 0.7772 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.542e-05/0.002866, allocations: 15.92 kB / 0.7772 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002869, allocations: 0 / 0.7772 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00287, allocations: 0 / 0.7772 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.002873, allocations: 0 / 0.7772 GB, free: 12.88 MB / 0.7448 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.0002598/0.003133, allocations: 240.9 kB / 0.7774 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.003163, allocations: 8.031 kB / 0.7774 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.003189, allocations: 8.922 kB / 0.7774 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.076e-05/0.00328, allocations: 113.7 kB / 0.7775 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.003288, allocations: 4.375 kB / 0.7775 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.003297, allocations: 4.375 kB / 0.7776 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.003387, allocations: 62.88 kB / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.003392, allocations: 192 / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.003399, allocations: 4.375 kB / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003403, allocations: 384 / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.003418, allocations: 7.938 kB / 0.7776 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.003603, allocations: 163.1 kB / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.336e-05/0.003637, allocations: 22.52 kB / 0.7778 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.003651, allocations: 12.84 kB / 0.7778 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.003657, allocations: 0 / 0.7778 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.003675, allocations: 34.62 kB / 0.7778 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.003676, allocations: 0 / 0.7778 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.793e-05/0.003764, allocations: 33.64 kB / 0.7779 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.00379, allocations: 51.41 kB / 0.7779 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.003839, allocations: 110.6 kB / 0.778 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.003848, allocations: 29.77 kB / 0.7781 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.003876, allocations: 88.09 kB / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.003889, allocations: 128 / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.00391, allocations: 17.72 kB / 0.7782 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.003976, allocations: 318.8 kB / 0.7785 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-06/0.003983, allocations: 0 / 0.7785 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.00399, allocations: 4 kB / 0.7785 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.827e-05/0.004008, allocations: 7.688 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.004009, allocations: 4 kB / 0.7785 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.425e-05/0.004044, allocations: 29.7 kB / 0.7785 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.004055, allocations: 4 kB / 0.7785 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.004062, allocations: 11.86 kB / 0.7785 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/0.004069, allocations: 4.094 kB / 0.7785 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.00413, allocations: 4 kB / 0.7785 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.004133, allocations: 3.938 kB / 0.7785 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.004149, allocations: 4 kB / 0.7785 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.004153, allocations: 0 / 0.7785 GB, free: 11.34 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.004203, allocations: 108.7 kB / 0.7786 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.004217, allocations: 7.984 kB / 0.7787 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.004234, allocations: 11.09 kB / 0.7787 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.004236, allocations: 0 / 0.7787 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004238, allocations: 0 / 0.7787 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.00424, allocations: 4 kB / 0.7787 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.111e-05/0.004311, allocations: 61.91 kB / 0.7787 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.004313, allocations: 4 kB / 0.7787 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.004329, allocations: 4.234 kB / 0.7787 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.004331, allocations: 0 / 0.7787 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.004335, allocations: 8 kB / 0.7787 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004335, allocations: 0 / 0.7787 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.004337, allocations: 3.938 kB / 0.7787 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.178e-05/0.004409, allocations: 135.5 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-06/0.004414, allocations: 3.984 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-06/0.00442, allocations: 4.031 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.638e-05/0.004447, allocations: 4 kB / 0.7789 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.004473, allocations: 3.938 kB / 0.7789 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.004477, allocations: 3.984 kB / 0.7789 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.414e-05/0.004491, allocations: 16.84 kB / 0.7789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004491, allocations: 0 / 0.7789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001076/0.004599, allocations: 7.953 kB / 0.7789 GB, free: 10.91 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.387e-05/0.004672, allocations: 76.42 kB / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.619e-05/0.004719, allocations: 12.86 kB / 0.779 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.004723, allocations: 0 / 0.779 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.004736, allocations: 12.8 kB / 0.779 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.004866, allocations: 3.984 kB / 0.779 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.005097, allocations: 153 kB / 0.7792 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.005141, allocations: 59.34 kB / 0.7792 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.005178, allocations: 51.38 kB / 0.7793 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.005179, allocations: 4.125 kB / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Templates: time 0.001333/0.006512, allocations: 0.5821 MB / 0.7798 GB, free: 9.891 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.631708039902151]