Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001196, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001352/0.001352, allocations: 177.3 kB / 15.94 MB, free: 228 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.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.832/1.832, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005167/0.000517, allocations: 18.47 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2478, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00216/0.25, allocations: 1.451 MB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2516, allocations: 0.9222 MB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.2517, allocations: 0 / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.2521, allocations: 55.73 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.2523, allocations: 59.84 kB / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.2529, allocations: 174.7 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.253, allocations: 87.78 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2532, allocations: 17.11 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2533, allocations: 51.83 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2534, allocations: 55.75 kB / 0.7899 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2534, allocations: 4 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.2536, allocations: 43.91 kB / 0.7899 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.2537, allocations: 35.84 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.2537, allocations: 49.62 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.2541, allocations: 151.9 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2541, allocations: 0 / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2541, allocations: 0 / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2541, allocations: 0 / 0.7902 GB, free: 8.828 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007637/0.2549, allocations: 472.3 kB / 0.7906 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.255, allocations: 8.031 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.255, allocations: 19.77 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.2554, allocations: 243.7 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2554, allocations: 0 / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2555, allocations: 11.98 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2557, allocations: 92.22 kB / 0.791 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2557, allocations: 3.938 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2558, allocations: 4 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.2558, allocations: 4 kB / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2559, allocations: 35.98 kB / 0.791 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.2565, allocations: 352.6 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.2567, allocations: 98.69 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2567, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.257, allocations: 83.5 kB / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.257, allocations: 0 / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004071/0.2574, allocations: 218.5 kB / 0.7917 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.2575, allocations: 106.8 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.2578, allocations: 263.5 kB / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2578, allocations: 29.7 kB / 0.7921 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.2579, allocations: 116.1 kB / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.2579, allocations: 23.7 kB / 0.7923 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.2579, allocations: 0 / 0.7923 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2581, allocations: 330.8 kB / 0.7926 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.837e-05/0.2582, allocations: 23.98 kB / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2583, allocations: 76.2 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.2584, allocations: 39.88 kB / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2584, allocations: 0 / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.2586, allocations: 113.5 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2586, allocations: 6.812 kB / 0.7928 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2586, allocations: 0 / 0.7928 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.2587, allocations: 7.953 kB / 0.7928 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.2588, allocations: 11.94 kB / 0.7928 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2588, allocations: 4.031 kB / 0.7928 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.2588, allocations: 11.92 kB / 0.7929 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.2589, allocations: 8 kB / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001516/0.259, allocations: 141.8 kB / 0.793 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.2591, allocations: 15.81 kB / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.2591, allocations: 21.39 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.2591, allocations: 4 kB / 0.793 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2591, allocations: 3.953 kB / 0.793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2592, allocations: 4 kB / 0.793 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.2594, allocations: 217.6 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2594, allocations: 0 / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.2594, allocations: 8 kB / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2594, allocations: 0 / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2595, allocations: 3.984 kB / 0.7933 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2595, allocations: 3.938 kB / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2595, allocations: 0 / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.2597, allocations: 153.2 kB / 0.7934 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.2598, allocations: 88.92 kB / 0.7935 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.2598, allocations: 8 kB / 0.7935 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.2599, allocations: 11.98 kB / 0.7935 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.26, allocations: 7.984 kB / 0.7935 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.26, allocations: 0 / 0.7935 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001914/0.2602, allocations: 196.5 kB / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2602, allocations: 0 / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002473/0.2605, allocations: 39.89 kB / 0.7938 GB, free: 4.777 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001076/0.2615, allocations: 438.5 kB / 0.7942 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2618, allocations: 63.91 kB / 0.7942 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.2618, allocations: 4 kB / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.2619, allocations: 39.91 kB / 0.7943 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2621, allocations: 36 kB / 0.7943 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.2627, allocations: 314.1 kB / 0.7946 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.263, allocations: 0.7282 MB / 0.7953 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.374e-05/0.2631, allocations: 25.38 kB / 0.7953 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.2632, allocations: 19.42 kB / 0.7954 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2632, allocations: 3.938 kB / 0.7954 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.005532/0.2687, allocations: 2.333 MB / 0.7976 GB, free: 0.9141 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: