Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.315/2.315, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001578, allocations: 184 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.001279, allocations: 90.19 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.5e-05/1.509e-05, allocations: 4 kB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.569, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.7859, allocations: 141 MB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.7863, allocations: 79.95 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02451/0.8108, allocations: 5.003 MB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.692e-05/0.8109, allocations: 6.531 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007146/0.8116, allocations: 457.9 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8117, allocations: 8.719 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.8118, allocations: 19.72 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.8123, allocations: 256.4 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.8124, allocations: 0 / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.8124, allocations: 4.844 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/0.8126, allocations: 35.98 kB / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.8128, allocations: 80.89 kB / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.8128, allocations: 0 / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.8128, allocations: 8.484 kB / 1.106 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.8129, allocations: 4 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.8137, allocations: 338.6 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.8139, allocations: 68.44 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.118e-05/0.814, allocations: 36.81 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.814, allocations: 3.984 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.8142, allocations: 79.42 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.8142, allocations: 4 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003842/0.8146, allocations: 103.9 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.8147, allocations: 81.11 kB / 1.107 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.8151, allocations: 234.9 kB / 1.107 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.8151, allocations: 25.7 kB / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.8152, allocations: 104 kB / 1.107 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.8153, allocations: 15.72 kB / 1.107 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.8153, allocations: 0 / 1.107 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.8155, allocations: 338.8 kB / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.8156, allocations: 24 kB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.8157, allocations: 55.42 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.8159, allocations: 35.98 kB / 1.108 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8159, allocations: 0 / 1.108 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003536/0.8163, allocations: 109.4 kB / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.8163, allocations: 10.22 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8163, allocations: 4 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.8163, allocations: 0 / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.8165, allocations: 11.98 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8165, allocations: 5.188 kB / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.8167, allocations: 11.84 kB / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.8167, allocations: 4 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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.0001265/0.8168, allocations: 109 kB / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.8169, allocations: 19.92 kB / 1.108 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.8173, allocations: 120.8 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.8174, allocations: 4 kB / 1.108 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.8174, allocations: 0 / 1.108 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8174, allocations: 0 / 1.108 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.8177, allocations: 206.1 kB / 1.108 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8177, allocations: 0 / 1.108 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.8178, allocations: 11.94 kB / 1.108 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.8178, allocations: 0 / 1.108 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.8178, allocations: 3.984 kB / 1.108 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.8178, allocations: 7.906 kB / 1.108 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8179, allocations: 0 / 1.108 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003186/0.8182, allocations: 139.5 kB / 1.109 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.8183, allocations: 100.9 kB / 1.109 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.8184, allocations: 7.906 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.8185, allocations: 3.25 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.8186, allocations: 11.98 kB / 1.109 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.8186, allocations: 8 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002997/0.8189, allocations: 192.2 kB / 1.109 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003834/0.8193, allocations: 31.94 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0009847/0.8203, allocations: 327.4 kB / 1.109 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.8207, allocations: 67.98 kB / 1.109 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8207, allocations: 4.062 kB / 1.109 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.8208, allocations: 39.92 kB / 1.109 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.8213, allocations: 31.17 kB / 1.109 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.8221, allocations: 224.6 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.8225, allocations: 0.7508 MB / 1.11 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.8225, allocations: 4 kB / 1.11 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.008629/0.8312, allocations: 2.164 MB / 1.112 GB, free: 3.531 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)