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.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 182.8 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006819/0.0006821, allocations: 88.03 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.000397, allocations: 8.812 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001338/0.2322, allocations: 1.07 MB / 0.9019 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003007/0.2325, allocations: 140.5 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.2326, allocations: 0 / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.81e-05/0.2327, allocations: 8 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.2327, allocations: 3.938 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.2329, allocations: 11.98 kB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.244e-05/0.233, allocations: 31.92 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.2331, allocations: 7.984 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.2331, allocations: 11.98 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.2332, allocations: 15.92 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.2332, allocations: 0 / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2332, allocations: 4 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.2333, allocations: 11.92 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.2333, allocations: 29.7 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.293e-05/0.2334, allocations: 27.94 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2334, allocations: 4 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2334, allocations: 0 / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2334, allocations: 0 / 0.9022 GB, free: 62.54 MB / 0.6042 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.0004191/0.2338, allocations: 347.2 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2339, allocations: 12.03 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.2339, allocations: 3.906 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.234, allocations: 179.2 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2341, allocations: 8 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2341, allocations: 0 / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2343, allocations: 69.61 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2343, allocations: 0 / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.2343, allocations: 0 / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2343, allocations: 0 / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.2345, allocations: 59.95 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.2348, allocations: 284.7 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.235, allocations: 42.56 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.2351, allocations: 32.89 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2351, allocations: 0 / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2351, allocations: 38.56 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2351, allocations: 3.938 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003736/0.2355, allocations: 101.6 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.2356, allocations: 59.48 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.333e-05/0.2356, allocations: 101.8 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2356, allocations: 29.7 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.2357, allocations: 92.03 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.2357, allocations: 0 / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.2357, allocations: 0 / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.2358, allocations: 314.8 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.2359, allocations: 27.92 kB / 0.9039 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.2359, allocations: 27.97 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.236, allocations: 19.98 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2361, allocations: 4.062 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000205/0.2363, allocations: 85.56 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2363, allocations: 7.938 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2363, allocations: 0 / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2363, allocations: 0 / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2364, allocations: 16.02 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2365, allocations: 4.203 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.2365, allocations: 11.98 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.2365, allocations: 4 kB / 0.9041 GB, free: 60.38 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.2366, allocations: 109.8 kB / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.2367, allocations: 0 / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.2367, allocations: 11.12 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2367, allocations: 7.984 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2367, allocations: 0 / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.2367, allocations: 3.953 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.2368, allocations: 165.7 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2368, allocations: 0 / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.2369, allocations: 12 kB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2369, allocations: 0 / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.237, allocations: 3.984 kB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.237, allocations: 4 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.237, allocations: 4 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.2372, allocations: 175.4 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.2372, allocations: 92.94 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2373, allocations: 4.031 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.2374, allocations: 7.984 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.2374, allocations: 7.984 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.2374, allocations: 0 / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.322e-05/0.2374, allocations: 83.28 kB / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2374, allocations: 0 / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000203/0.2377, allocations: 11.94 kB / 0.9048 GB, free: 59.59 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.954e-05/0.2378, allocations: 99.25 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.238, allocations: 47.95 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.238, allocations: 3.938 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.2381, allocations: 39.97 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2383, allocations: 11.89 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.2386, allocations: 146.4 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2388, allocations: 0.6809 MB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.2388, allocations: 15.5 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2388, allocations: 0 / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.002109/0.241, allocations: 0.6638 MB / 0.9064 GB, free: 57.82 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)