Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001073/0.001073, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.081/2.081, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.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.001529/0.001529, allocations: 71.88 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3275, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.00305/0.3306, allocations: 0.6653 MB / 0.7855 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3319, allocations: 0.832 MB / 0.7863 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3319, allocations: 4 kB / 0.7863 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3321, allocations: 7.938 kB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.864e-05/0.3321, allocations: 0 / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3323, allocations: 19.92 kB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3324, allocations: 31.92 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.3326, allocations: 11.98 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3328, allocations: 19.92 kB / 0.7864 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.3329, allocations: 15.92 kB / 0.7864 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3329, allocations: 4 kB / 0.7864 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.3329, allocations: 4 kB / 0.7864 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.333, allocations: 11.98 kB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.3331, allocations: 15.92 kB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.3333, allocations: 39.81 kB / 0.7865 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3333, allocations: 0 / 0.7865 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3333, allocations: 0 / 0.7865 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3333, allocations: 0 / 0.7865 GB, free: 1.512 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000766/0.3341, allocations: 347.4 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.3341, allocations: 12.03 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3342, allocations: 4.938 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3344, allocations: 176.3 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.3345, allocations: 8.25 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3345, allocations: 4.375 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.3348, allocations: 58.23 kB / 0.787 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3348, allocations: 4.188 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.3348, allocations: 7.938 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3348, allocations: 0 / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.3351, allocations: 47.94 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.3356, allocations: 280.8 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3358, allocations: 42.53 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3359, allocations: 24.91 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3359, allocations: 4 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3359, allocations: 30.56 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3359, allocations: 0 / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004039/0.3364, allocations: 93.48 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3364, allocations: 55.39 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3365, allocations: 106 kB / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3366, allocations: 25.7 kB / 0.7877 GB, free: 8 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.6009/0.9374, allocations: 92.58 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.9375, allocations: 2.719 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.9376, allocations: 15.97 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.9377, allocations: 318.3 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.9378, allocations: 20.3 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.9379, allocations: 20.91 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.9381, allocations: 43.27 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9381, allocations: 0 / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00025/0.9384, allocations: 74.98 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.9384, allocations: 5.25 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9384, allocations: 2.625 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.9384, allocations: 1.188 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.9386, allocations: 8.438 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9386, allocations: 0 / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.9386, allocations: 10.12 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.9387, allocations: 0 / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000134/0.9388, allocations: 115 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.9388, allocations: 6.828 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.9389, allocations: 6.156 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9389, allocations: 3.938 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9389, allocations: 0 / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.9389, allocations: 90.61 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.9389, allocations: 0 / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.939, allocations: 8.484 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.9391, allocations: 6.281 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002517/0.9393, allocations: 156.5 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002366/0.9396, allocations: 244 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001004/0.9397, allocations: 21.91 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.9397, allocations: 86.17 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of Backend: time 1.653e-06/0.9398, allocations: 0 / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.9402, allocations: 101.8 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003994/0.9406, allocations: 0.5608 MB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.00275/0.9433, allocations: 0.6868 MB / 0.7903 GB, free: 47.23 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)