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.00127/0.00127, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009915/0.009915, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.691/1.691, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.978/1.978, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0006387/0.000639, allocations: 14 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.315, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0008823/0.3159, allocations: 401.4 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.317, allocations: 0.8204 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.317, allocations: 4 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.529e-05/0.3171, allocations: 0 / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.3172, allocations: 7.922 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3174, allocations: 19.92 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.3174, allocations: 23.98 kB / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3176, allocations: 15.92 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/0.3176, allocations: 8 kB / 0.7891 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.3177, allocations: 23.91 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3177, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.3177, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.3178, allocations: 16.92 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.3179, allocations: 37.64 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.138e-05/0.318, allocations: 35.88 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.318, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.716e-06/0.318, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.318, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 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.0005549/0.3185, allocations: 355.7 kB / 0.7896 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3186, allocations: 8.031 kB / 0.7896 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.3186, allocations: 0.9375 kB / 0.7896 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3188, allocations: 180.3 kB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3189, allocations: 8.375 kB / 0.7898 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3189, allocations: 4.359 kB / 0.7898 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3191, allocations: 82.09 kB / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3191, allocations: 192 / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3191, allocations: 3.938 kB / 0.7899 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3191, allocations: 0 / 0.7899 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.3194, allocations: 59.95 kB / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.3198, allocations: 272.8 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3199, allocations: 54.5 kB / 0.7902 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3201, allocations: 24.89 kB / 0.7903 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3201, allocations: 4 kB / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3201, allocations: 34.56 kB / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3201, allocations: 0 / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003923/0.3205, allocations: 109.5 kB / 0.7904 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3206, allocations: 51.41 kB / 0.7905 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.3207, allocations: 105.8 kB / 0.7906 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3207, allocations: 29.83 kB / 0.7906 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.3207, allocations: 91.97 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.3208, allocations: 8 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.3208, allocations: 9.719 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3209, allocations: 314.8 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.321, allocations: 23.98 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.3211, allocations: 31.97 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3213, allocations: 52.81 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3213, allocations: 4.062 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002236/0.3215, allocations: 77.59 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3215, allocations: 8 kB / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3215, allocations: 0 / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3216, allocations: 0 / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3217, allocations: 19.95 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3217, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.3218, allocations: 15.91 kB / 0.7912 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3218, allocations: 3.938 kB / 0.7912 GB, free: 7.906 MB / 0.6075 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.0001277/0.3219, allocations: 118.4 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3219, allocations: 0 / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.322, allocations: 7.125 kB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.322, allocations: 4 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.322, allocations: 0 / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.322, allocations: 0 / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3221, allocations: 165.6 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3222, allocations: 4 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.3222, allocations: 11.98 kB / 0.7915 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3222, allocations: 0 / 0.7915 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3223, allocations: 0 / 0.7915 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3223, allocations: 256 / 0.7915 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3223, allocations: 4 kB / 0.7915 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.3225, allocations: 183.4 kB / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.3226, allocations: 81.09 kB / 0.7918 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3226, allocations: 8.031 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.3227, allocations: 8 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.3228, allocations: 7.984 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3228, allocations: 0 / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.3228, allocations: 83.28 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002304/0.3231, allocations: 7.906 kB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000117/0.3232, allocations: 107.2 kB / 0.792 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3234, allocations: 51.89 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3234, allocations: 0 / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3235, allocations: 35.98 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3238, allocations: 0 / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.3243, allocations: 136.6 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.3247, allocations: 0.6809 MB / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.3247, allocations: 8.062 kB / 0.7929 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.3248, allocations: 7.438 kB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.3248, allocations: 0 / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.00357/0.3283, allocations: 0.5144 MB / 0.7934 GB, free: 5.535 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: