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.001385/0.001385, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.91 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3843, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002005/0.3863, allocations: 0.6483 MB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009032/0.3873, allocations: 0.7945 MB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.3873, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.681e-05/0.3874, allocations: 3.938 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.151e-05/0.3875, allocations: 7.922 kB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.3876, allocations: 15.98 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.3877, allocations: 19.94 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3878, allocations: 7.984 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.3879, allocations: 11.94 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.3879, allocations: 11.98 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.388, allocations: 7.938 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.388, allocations: 4 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.388, allocations: 4 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.3881, allocations: 11.92 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.3882, allocations: 35.88 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3882, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3882, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3882, allocations: 0 / 1.07 GB, free: 8.824 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.0004995/0.3887, allocations: 343.7 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3888, allocations: 12.03 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.3888, allocations: 4.938 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3889, allocations: 172.3 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.389, allocations: 4.375 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.389, allocations: 384 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3892, allocations: 58.17 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3892, allocations: 192 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3892, allocations: 7.938 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3892, allocations: 0 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3894, allocations: 35.97 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.3898, allocations: 276.9 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3899, allocations: 30.5 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.39, allocations: 24.91 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.39, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.39, allocations: 38.5 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.39, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003318/0.3904, allocations: 73.64 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3904, allocations: 59.47 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.3905, allocations: 105.8 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3905, allocations: 25.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.3906, allocations: 99.92 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.3906, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.3906, allocations: 9.719 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3908, allocations: 322.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3909, allocations: 19.98 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.3909, allocations: 11.98 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3911, allocations: 36.81 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3911, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001772/0.3913, allocations: 61.64 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3913, allocations: 15.97 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3913, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3913, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.3914, allocations: 7.984 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3914, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.3915, allocations: 7.984 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3915, allocations: 7.969 kB / 1.072 GB, free: 6.762 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 7.473e-05/0.3916, allocations: 114.3 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3916, allocations: 8 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.3916, allocations: 3.125 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3916, allocations: 4 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3916, allocations: 0 / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3916, allocations: 0 / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3918, allocations: 161.6 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3918, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.3919, allocations: 11.98 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3919, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3919, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3919, allocations: 4 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3919, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.3921, allocations: 163.3 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.3922, allocations: 85.11 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3922, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.3923, allocations: 7.984 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3923, allocations: 4.031 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3923, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.3924, allocations: 83.53 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3924, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000216/0.3926, allocations: 4 kB / 1.072 GB, free: 6.027 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.0001287/0.3927, allocations: 103.2 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.3929, allocations: 31.97 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.393, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.393, allocations: 19.98 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3934, allocations: 13.19 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.3936, allocations: 121.4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.3939, allocations: 0.6847 MB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.3939, allocations: 0 / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.3939, allocations: 11.44 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3939, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.002387/0.3963, allocations: 424.5 kB / 1.073 GB, free: 4.574 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)