Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 176.6 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 84.05 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 287.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.726e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3746, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.5099, allocations: 112.4 MB / 0.8671 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.5101, allocations: 75.84 kB / 0.8672 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5255, allocations: 5.521 MB / 0.8725 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5256, allocations: 0 / 0.8725 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.5256, allocations: 4 kB / 0.8726 GB, free: 9.938 MB / 0.5417 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.0005036/0.5261, allocations: 451.8 kB / 0.873 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5262, allocations: 8.031 kB / 0.873 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.5262, allocations: 23.75 kB / 0.873 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.5266, allocations: 251.7 kB / 0.8733 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.5266, allocations: 7.938 kB / 0.8733 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5266, allocations: 4 kB / 0.8733 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.733e-05/0.5268, allocations: 35.98 kB / 0.8733 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5269, allocations: 91.25 kB / 0.8734 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5269, allocations: 0 / 0.8734 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5269, allocations: 0 / 0.8734 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.527, allocations: 4 kB / 0.8734 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.5275, allocations: 341.2 kB / 0.8737 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.5277, allocations: 66.62 kB / 0.8738 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.5278, allocations: 32.92 kB / 0.8738 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.5278, allocations: 4 kB / 0.8738 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.528, allocations: 83.38 kB / 0.8739 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.528, allocations: 0 / 0.8739 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0002767/0.5283, allocations: 109.5 kB / 0.874 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.5283, allocations: 77.11 kB / 0.8741 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.5286, allocations: 238.9 kB / 0.8743 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.5286, allocations: 25.7 kB / 0.8743 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.5287, allocations: 120 kB / 0.8744 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.5287, allocations: 23.84 kB / 0.8745 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.5288, allocations: 3.938 kB / 0.8745 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5289, allocations: 330.8 kB / 0.8748 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.5289, allocations: 24 kB / 0.8748 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.529, allocations: 55.42 kB / 0.8749 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.5291, allocations: 37.12 kB / 0.8749 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5291, allocations: 4 kB / 0.8749 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002014/0.5293, allocations: 105.5 kB / 0.875 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5293, allocations: 13.02 kB / 0.875 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5294, allocations: 4 kB / 0.875 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5294, allocations: 0 / 0.875 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.5295, allocations: 8 kB / 0.875 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5295, allocations: 0 / 0.875 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.5295, allocations: 7.906 kB / 0.875 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5296, allocations: 7.984 kB / 0.875 GB, free: 7.156 MB / 0.5417 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 8.882e-05/0.5297, allocations: 117 kB / 0.8751 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.5297, allocations: 15.81 kB / 0.8752 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.5299, allocations: 123.4 kB / 0.8753 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.53, allocations: 7.938 kB / 0.8753 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.53, allocations: 0 / 0.8753 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.53, allocations: 3.984 kB / 0.8753 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.5302, allocations: 202.1 kB / 0.8755 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5302, allocations: 0 / 0.8755 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.5302, allocations: 19.94 kB / 0.8755 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5302, allocations: 0 / 0.8755 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.5303, allocations: 0 / 0.8755 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5303, allocations: 0 / 0.8755 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5303, allocations: 96 / 0.8755 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.5305, allocations: 144.8 kB / 0.8756 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.5306, allocations: 96.92 kB / 0.8757 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.5306, allocations: 11.94 kB / 0.8757 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.5307, allocations: 7.938 kB / 0.8758 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.5307, allocations: 7.984 kB / 0.8758 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.5308, allocations: 4 kB / 0.8758 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001733/0.5309, allocations: 187.4 kB / 0.8759 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5309, allocations: 4 kB / 0.8759 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002627/0.5312, allocations: 35.94 kB / 0.876 GB, free: 6.098 MB / 0.5417 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.0008179/0.532, allocations: 376.4 kB / 0.8763 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.5322, allocations: 74.83 kB / 0.8764 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5322, allocations: 0 / 0.8764 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.5323, allocations: 36 kB / 0.8764 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.5326, allocations: 33.64 kB / 0.8765 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.533, allocations: 221.3 kB / 0.8767 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5333, allocations: 0.724 MB / 0.8774 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.222e-05/0.5334, allocations: 25.11 kB / 0.8774 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.5334, allocations: 31.36 kB / 0.8774 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of SimCode: time 3.9e-07/0.5334, allocations: 0 / 0.8774 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of Templates: time 0.00506/0.5385, allocations: 2.127 MB / 0.8795 GB, free: 2.523 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)