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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.879/1.879, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001373/0.001373, allocations: 188.5 kB / 376.9 MB, free: 1.836 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.058/2.058, allocations: 205 MB / 0.6353 GB, free: 9.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 94.88 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3813, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.003668/0.3851, allocations: 0.7057 MB / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3867, allocations: 0.7932 MB / 0.9837 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.3868, allocations: 0 / 0.9837 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.387, allocations: 0 / 0.9837 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.3871, allocations: 3.938 kB / 0.9837 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.3872, allocations: 8 kB / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3874, allocations: 23.92 kB / 0.9837 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3875, allocations: 4 kB / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.3876, allocations: 19.92 kB / 0.9838 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.3877, allocations: 7.984 kB / 0.9838 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3877, allocations: 0 / 0.9838 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.3878, allocations: 4 kB / 0.9838 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.3879, allocations: 7.938 kB / 0.9838 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.3879, allocations: 19.91 kB / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.3881, allocations: 19.91 kB / 0.9838 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.3881, allocations: 4 kB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3881, allocations: 0 / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3881, allocations: 0 / 0.9838 GB, free: 8.75 MB / 0.7136 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.0006887/0.3888, allocations: 347.7 kB / 0.9842 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.3889, allocations: 12.03 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.3889, allocations: 4.844 kB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3892, allocations: 168.4 kB / 0.9843 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3892, allocations: 384 / 0.9843 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3892, allocations: 8.359 kB / 0.9843 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3895, allocations: 58.17 kB / 0.9844 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3895, allocations: 192 / 0.9844 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3895, allocations: 11.94 kB / 0.9844 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3895, allocations: 0 / 0.9844 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3897, allocations: 31.97 kB / 0.9844 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.3903, allocations: 276.9 kB / 0.9847 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3904, allocations: 34.56 kB / 0.9847 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.3905, allocations: 28.78 kB / 0.9848 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3905, allocations: 0 / 0.9848 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/0.3906, allocations: 30.56 kB / 0.9848 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.3906, allocations: 0 / 0.9848 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0004072/0.391, allocations: 81.55 kB / 0.9849 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3911, allocations: 55.34 kB / 0.9849 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3912, allocations: 109.8 kB / 0.985 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.3912, allocations: 25.7 kB / 0.985 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.3913, allocations: 84.14 kB / 0.9851 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3913, allocations: 7.844 kB / 0.9851 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.3914, allocations: 13.72 kB / 0.9851 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3916, allocations: 322.9 kB / 0.9855 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.3916, allocations: 15.98 kB / 0.9855 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.3917, allocations: 15.98 kB / 0.9855 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3919, allocations: 32.83 kB / 0.9855 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3919, allocations: 0 / 0.9855 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002113/0.3921, allocations: 65.72 kB / 0.9856 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3921, allocations: 7.938 kB / 0.9856 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3922, allocations: 0 / 0.9856 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3922, allocations: 4 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3923, allocations: 7.984 kB / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3923, allocations: 0 / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3924, allocations: 7.984 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3924, allocations: 0 / 0.9856 GB, free: 6.691 MB / 0.7136 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 0.0001139/0.3925, allocations: 121.8 kB / 0.9857 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3925, allocations: 0 / 0.9857 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.3926, allocations: 3.125 kB / 0.9857 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.3926, allocations: 3.984 kB / 0.9857 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3926, allocations: 0 / 0.9857 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3926, allocations: 0 / 0.9857 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.3928, allocations: 165.6 kB / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3928, allocations: 0 / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.3929, allocations: 7.984 kB / 0.9859 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3929, allocations: 4 kB / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3929, allocations: 0 / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3929, allocations: 4 kB / 0.9859 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3929, allocations: 0 / 0.9859 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.3936, allocations: 0.72 MB / 0.9866 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.3936, allocations: 81.36 kB / 0.9867 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3936, allocations: 0 / 0.9867 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.3937, allocations: 8 kB / 0.9867 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3938, allocations: 11.86 kB / 0.9867 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3938, allocations: 3.938 kB / 0.9867 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.3939, allocations: 83.28 kB / 0.9868 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3939, allocations: 0 / 0.9868 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003063/0.3942, allocations: 4 kB / 0.9868 GB, free: 5.348 MB / 0.7136 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 0.0001541/0.3943, allocations: 103.2 kB / 0.9869 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3945, allocations: 35.95 kB / 0.9869 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3946, allocations: 0 / 0.9869 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.3947, allocations: 19.98 kB / 0.9869 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.395, allocations: 4.125 kB / 0.9869 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.3955, allocations: 217.9 kB / 0.9872 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3959, allocations: 0.6809 MB / 0.9878 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.3959, allocations: 0 / 0.9878 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.396, allocations: 7.438 kB / 0.9878 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.396, allocations: 0 / 0.9878 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.002913/0.3989, allocations: 368.5 kB / 0.9882 GB, free: 3.852 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (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)