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.0009741/0.0009742, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00115/0.00115, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.663/1.663, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005204/0.0005205, allocations: 16.48 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2492, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001024/0.2502, allocations: 385.5 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2513, allocations: 0.8244 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.2514, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.29e-05/0.2515, allocations: 3.938 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.708e-05/0.2515, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2517, allocations: 27.91 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.2517, allocations: 27.92 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.2518, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.2519, allocations: 15.98 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.2519, allocations: 15.92 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.252, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.252, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.252, allocations: 15.97 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.2521, allocations: 33.64 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.848e-05/0.2521, allocations: 19.95 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2522, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2522, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2522, allocations: 4 kB / 0.7886 GB, free: 10.53 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.0004267/0.2526, allocations: 351.5 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2527, allocations: 12.03 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.2527, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2528, allocations: 174.9 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2529, allocations: 0 / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2529, allocations: 8 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2531, allocations: 69.67 kB / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2531, allocations: 0 / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2531, allocations: 3.938 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2531, allocations: 3.938 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.2533, allocations: 55.89 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.2537, allocations: 280.8 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.2538, allocations: 46.5 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.2539, allocations: 37.95 kB / 0.7896 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.2539, allocations: 0 / 0.7896 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.254, allocations: 30.56 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.254, allocations: 0 / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.2543, allocations: 105.5 kB / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.2544, allocations: 59.41 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.2545, allocations: 105.8 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2545, allocations: 29.64 kB / 0.7899 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.2546, allocations: 92.06 kB / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.2546, allocations: 8.031 kB / 0.79 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.2546, allocations: 4 kB / 0.79 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2548, allocations: 310.8 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.2548, allocations: 23.98 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.2549, allocations: 27.97 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.255, allocations: 23.98 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.255, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.2552, allocations: 77.72 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2553, allocations: 8 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2553, allocations: 0 / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2553, allocations: 0 / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2554, allocations: 11.98 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2554, allocations: 3.984 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.2555, allocations: 16.19 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2555, allocations: 11.91 kB / 0.7905 GB, free: 8.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.2557, allocations: 114.5 kB / 0.7906 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.2557, allocations: 7.906 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.2557, allocations: 7.125 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2557, allocations: 0 / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.2558, allocations: 7.984 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2558, allocations: 0 / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.2559, allocations: 165.6 kB / 0.7908 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2559, allocations: 0 / 0.7908 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.256, allocations: 12 kB / 0.7908 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.256, allocations: 0 / 0.7908 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2561, allocations: 3.984 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2561, allocations: 0 / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2561, allocations: 0 / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.2563, allocations: 179.5 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.2564, allocations: 77.11 kB / 0.7911 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2564, allocations: 7.938 kB / 0.7911 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.2565, allocations: 11.92 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.2565, allocations: 8 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2566, allocations: 3.984 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.2566, allocations: 83.31 kB / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2566, allocations: 0 / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002256/0.2568, allocations: 8 kB / 0.7912 GB, free: 7.582 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 (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 0.000151/0.257, allocations: 103.2 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2572, allocations: 51.95 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2572, allocations: 0 / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.2573, allocations: 31.97 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2576, allocations: 7.891 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2579, allocations: 136.6 kB / 0.7915 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.2582, allocations: 0.6809 MB / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.2583, allocations: 4 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.2583, allocations: 15.42 kB / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2583, allocations: 0 / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.002637/0.2609, allocations: 0.5011 MB / 0.7927 GB, free: 6.004 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: