Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001084/0.001084, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007886/0.007886, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.672/1.672, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.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.0006093/0.0006093, allocations: 16 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6236, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001566/0.6253, allocations: 1.062 MB / 0.7298 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002946/0.6256, allocations: 108.5 kB / 0.7299 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.6256, allocations: 0 / 0.7299 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.34e-05/0.6258, allocations: 4 kB / 0.7299 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.6258, allocations: 7.984 kB / 0.7299 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.6259, allocations: 7.938 kB / 0.7299 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.626, allocations: 19.98 kB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.6261, allocations: 7.984 kB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.6262, allocations: 11.94 kB / 0.7299 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.6262, allocations: 7.984 kB / 0.7299 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.6263, allocations: 3.938 kB / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.6263, allocations: 0 / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.6263, allocations: 15.94 kB / 0.73 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.6264, allocations: 37.62 kB / 0.73 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.714e-05/0.6265, allocations: 27.88 kB / 0.73 GB, free: 9.945 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6265, allocations: 0 / 0.73 GB, free: 9.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.657e-06/0.6266, allocations: 0 / 0.73 GB, free: 9.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.6266, allocations: 0 / 0.73 GB, free: 9.945 MB / 0.545 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.0005178/0.6271, allocations: 345.5 kB / 0.7303 GB, free: 9.559 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6271, allocations: 8.031 kB / 0.7304 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.6272, allocations: 12.84 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.6274, allocations: 168.3 kB / 0.7305 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.6274, allocations: 4.375 kB / 0.7305 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.6274, allocations: 4.375 kB / 0.7305 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.6277, allocations: 58.23 kB / 0.7306 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.6277, allocations: 192 / 0.7306 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.6277, allocations: 3.938 kB / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6277, allocations: 4 kB / 0.7306 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.6279, allocations: 51.91 kB / 0.7306 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.6284, allocations: 280.8 kB / 0.7309 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.6285, allocations: 38.56 kB / 0.731 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.853e-05/0.6287, allocations: 24.91 kB / 0.731 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.6287, allocations: 7.938 kB / 0.731 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.6287, allocations: 34.56 kB / 0.731 GB, free: 8.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.051e-06/0.6287, allocations: 0 / 0.731 GB, free: 8.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003827/0.6291, allocations: 89.64 kB / 0.7311 GB, free: 8.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.6292, allocations: 55.41 kB / 0.7312 GB, free: 8.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.6293, allocations: 106 kB / 0.7313 GB, free: 8.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.6293, allocations: 25.7 kB / 0.7313 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.6293, allocations: 84.14 kB / 0.7314 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.6294, allocations: 7.906 kB / 0.7314 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.6294, allocations: 13.84 kB / 0.7314 GB, free: 8.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6295, allocations: 318.8 kB / 0.7317 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.6296, allocations: 23.92 kB / 0.7317 GB, free: 7.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.6297, allocations: 23.92 kB / 0.7317 GB, free: 7.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.6299, allocations: 52.88 kB / 0.7318 GB, free: 7.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6299, allocations: 0 / 0.7318 GB, free: 7.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002074/0.6301, allocations: 65.67 kB / 0.7318 GB, free: 7.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6301, allocations: 8 kB / 0.7319 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6302, allocations: 4.047 kB / 0.7319 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6302, allocations: 4 kB / 0.7319 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.6303, allocations: 15.98 kB / 0.7319 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.6303, allocations: 0 / 0.7319 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.6303, allocations: 12.02 kB / 0.7319 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6303, allocations: 0 / 0.7319 GB, free: 7.805 MB / 0.545 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.322e-05/0.6304, allocations: 117.7 kB / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.6305, allocations: 0 / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.6305, allocations: 7.125 kB / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6305, allocations: 0 / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6305, allocations: 0 / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6305, allocations: 0 / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.6307, allocations: 165.6 kB / 0.7322 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.6307, allocations: 8 kB / 0.7322 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.6308, allocations: 7.984 kB / 0.7322 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6308, allocations: 0 / 0.7322 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.6308, allocations: 4 kB / 0.7322 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.6308, allocations: 0 / 0.7322 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6308, allocations: 0 / 0.7322 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.631, allocations: 175.4 kB / 0.7323 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.6311, allocations: 77.11 kB / 0.7324 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.6311, allocations: 0 / 0.7324 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.6312, allocations: 7.984 kB / 0.7324 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.6313, allocations: 8.031 kB / 0.7324 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.6313, allocations: 3.938 kB / 0.7324 GB, free: 7.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.6313, allocations: 87.22 kB / 0.7325 GB, free: 7.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6313, allocations: 0 / 0.7325 GB, free: 7.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002094/0.6315, allocations: 4 kB / 0.7325 GB, free: 7.051 MB / 0.545 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.0001193/0.6317, allocations: 99.23 kB / 0.7326 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.6319, allocations: 43.97 kB / 0.7327 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6319, allocations: 0 / 0.7327 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.632, allocations: 19.98 kB / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.6323, allocations: 8.875 kB / 0.7327 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.6326, allocations: 128.8 kB / 0.7328 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.6329, allocations: 0.6848 MB / 0.7335 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.6329, allocations: 11.92 kB / 0.7335 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.633, allocations: 7.438 kB / 0.7335 GB, free: 5.992 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.633, allocations: 0 / 0.7335 GB, free: 5.992 MB / 0.545 GB Notification: Performance of Templates: time 0.002405/0.6354, allocations: 353.4 kB / 0.7338 GB, free: 5.652 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1) Environment - environmentSimulation: