Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002046/0.002045, allocations: 191.2 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.5 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3835, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00213/0.3857, allocations: 0.7075 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.3867, allocations: 0.7885 MB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.3867, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.3869, allocations: 3.938 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.3869, allocations: 3.984 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.387, allocations: 12 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.3871, allocations: 27.86 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.3872, allocations: 7.984 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.3872, allocations: 15.98 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.3873, allocations: 7.938 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.3873, allocations: 0 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.3873, allocations: 0 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.3874, allocations: 11.98 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.3875, allocations: 11.94 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.427e-05/0.3875, allocations: 23.89 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3876, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3876, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3876, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 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.0004706/0.388, allocations: 351.7 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3881, allocations: 12.03 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.3881, allocations: 0.9375 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3883, allocations: 184.3 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3883, allocations: 384 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3883, allocations: 12.3 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3885, allocations: 50.23 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3886, allocations: 192 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3886, allocations: 11.94 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3886, allocations: 4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3888, allocations: 35.95 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.3892, allocations: 272.8 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3893, allocations: 30.56 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.3894, allocations: 24.89 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3895, allocations: 4 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3895, allocations: 34.5 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.3895, allocations: 3.938 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000342/0.3898, allocations: 77.64 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3899, allocations: 51.41 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.39, allocations: 101.9 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.39, allocations: 25.7 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.3901, allocations: 95.97 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3901, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3901, allocations: 13.72 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3903, allocations: 318.9 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.3904, allocations: 15.98 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.3905, allocations: 15.97 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3906, allocations: 40.77 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3906, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001769/0.3908, allocations: 69.62 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3909, allocations: 5.406 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3909, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3909, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.391, allocations: 4 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.391, allocations: 7.984 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.391, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.391, allocations: 4 kB / 1.071 GB, free: 7.227 MB / 0.8262 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 8.431e-05/0.3911, allocations: 113.8 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3912, allocations: 11.98 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.3912, allocations: 3.125 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3912, allocations: 3.938 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3912, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3912, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3914, allocations: 161.9 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3914, allocations: 4 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.3915, allocations: 15.92 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3915, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3915, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.3915, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3915, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.3917, allocations: 159.5 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.3918, allocations: 81.11 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3918, allocations: 4.031 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.3919, allocations: 7.984 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3919, allocations: 0 / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3919, allocations: 0 / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.392, allocations: 83.27 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.392, allocations: 3.938 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002048/0.3922, allocations: 4 kB / 1.072 GB, free: 6.488 MB / 0.8262 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.0001257/0.3923, allocations: 103.2 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3925, allocations: 31.91 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3925, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.3926, allocations: 19.97 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.393, allocations: 7.938 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.3933, allocations: 119.3 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3936, allocations: 0.6809 MB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.3936, allocations: 0 / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.3936, allocations: 7.438 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3936, allocations: 0 / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of Templates: time 0.002209/0.3959, allocations: 364.8 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1)