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.7931/0.7931, allocations: 143.4 MB / 159.2 MB, free: 4.863 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.00114/0.00114, allocations: 180.5 kB / 191.9 MB, free: 5.723 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.388/1.388, allocations: 222.9 MB / 447.3 MB, free: 5.844 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.001334/0.001334, allocations: 100.6 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 281.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 83.88 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.374, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002844/0.3768, allocations: 1.846 MB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3783, allocations: 1.013 MB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.3784, allocations: 4 kB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.379, allocations: 151.7 kB / 0.7709 GB, free: 24.64 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.3792, allocations: 103.7 kB / 0.771 GB, free: 24.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3796, allocations: 152.2 kB / 0.7711 GB, free: 24.39 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.3798, allocations: 167.6 kB / 0.7713 GB, free: 24.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3799, allocations: 21.09 kB / 0.7713 GB, free: 24.21 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.38, allocations: 63.77 kB / 0.7713 GB, free: 24.15 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.3801, allocations: 75.62 kB / 0.7714 GB, free: 24.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3801, allocations: 4 kB / 0.7714 GB, free: 24.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3802, allocations: 47.97 kB / 0.7715 GB, free: 24.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.3803, allocations: 35.91 kB / 0.7715 GB, free: 23.99 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.3804, allocations: 63.53 kB / 0.7716 GB, free: 23.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3806, allocations: 190.1 kB / 0.7717 GB, free: 23.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3806, allocations: 0 / 0.7717 GB, free: 23.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3806, allocations: 0 / 0.7717 GB, free: 23.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.3806, allocations: 4 kB / 0.7717 GB, free: 23.74 MB / 458.7 MB 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.000661/0.3813, allocations: 496.3 kB / 0.7722 GB, free: 23.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3813, allocations: 12.03 kB / 0.7722 GB, free: 23.19 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.3814, allocations: 16.75 kB / 0.7722 GB, free: 23.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.3817, allocations: 244.8 kB / 0.7725 GB, free: 22.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3817, allocations: 4.375 kB / 0.7725 GB, free: 22.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3817, allocations: 12.12 kB / 0.7725 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3819, allocations: 83.38 kB / 0.7726 GB, free: 22.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3819, allocations: 4 kB / 0.7726 GB, free: 22.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3819, allocations: 0 / 0.7726 GB, free: 22.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.3819, allocations: 4 kB / 0.7726 GB, free: 22.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.382, allocations: 43.91 kB / 0.7726 GB, free: 22.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.3825, allocations: 352.6 kB / 0.773 GB, free: 22.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.3827, allocations: 78.61 kB / 0.773 GB, free: 22.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.3827, allocations: 40.78 kB / 0.7731 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3828, allocations: 4 kB / 0.7731 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.3829, allocations: 79.38 kB / 0.7731 GB, free: 22.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.3829, allocations: 0 / 0.7731 GB, free: 22.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002963/0.3832, allocations: 145.4 kB / 0.7733 GB, free: 21.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3833, allocations: 81.11 kB / 0.7734 GB, free: 21.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.3835, allocations: 262.8 kB / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3835, allocations: 29.7 kB / 0.7736 GB, free: 21.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.3836, allocations: 120 kB / 0.7738 GB, free: 21.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.3836, allocations: 27.64 kB / 0.7738 GB, free: 21.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.3836, allocations: 29.7 kB / 0.7738 GB, free: 21.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.3837, allocations: 330.8 kB / 0.7741 GB, free: 21.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.3838, allocations: 27.98 kB / 0.7742 GB, free: 21.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.3839, allocations: 63.47 kB / 0.7742 GB, free: 20.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.384, allocations: 73.62 kB / 0.7743 GB, free: 20.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.384, allocations: 0 / 0.7743 GB, free: 20.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001604/0.3842, allocations: 113.8 kB / 0.7744 GB, free: 20.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3842, allocations: 11.92 kB / 0.7744 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3842, allocations: 4.062 kB / 0.7744 GB, free: 20.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3842, allocations: 4 kB / 0.7744 GB, free: 20.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.3843, allocations: 11.94 kB / 0.7744 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3843, allocations: 0 / 0.7744 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.3844, allocations: 11.94 kB / 0.7744 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3844, allocations: 7.984 kB / 0.7744 GB, free: 20.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.3845, allocations: 139.7 kB / 0.7746 GB, free: 20.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3845, allocations: 15.81 kB / 0.7746 GB, free: 20.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.3846, allocations: 25.41 kB / 0.7746 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.3846, allocations: 3.984 kB / 0.7746 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3846, allocations: 0 / 0.7746 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3846, allocations: 7.938 kB / 0.7746 GB, free: 20.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3848, allocations: 221.5 kB / 0.7748 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3848, allocations: 0 / 0.7748 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.3848, allocations: 7.984 kB / 0.7748 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3848, allocations: 0 / 0.7748 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3848, allocations: 4 kB / 0.7748 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3848, allocations: 0 / 0.7748 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3848, allocations: 4 kB / 0.7749 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.3852, allocations: 0.7408 MB / 0.7756 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.3853, allocations: 100.8 kB / 0.7757 GB, free: 19.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3853, allocations: 7.938 kB / 0.7757 GB, free: 19.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.3853, allocations: 4 kB / 0.7757 GB, free: 19.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3854, allocations: 7.984 kB / 0.7757 GB, free: 19.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3854, allocations: 8 kB / 0.7757 GB, free: 19.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3855, allocations: 192.6 kB / 0.7759 GB, free: 19.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3856, allocations: 0 / 0.7759 GB, free: 19.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.3859, allocations: 39.89 kB / 0.7759 GB, free: 19.05 MB / 458.7 MB 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.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009101/0.3868, allocations: 427.6 kB / 0.7763 GB, free: 18.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.387, allocations: 67.92 kB / 0.7764 GB, free: 18.72 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.387, allocations: 4.062 kB / 0.7764 GB, free: 18.72 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.3871, allocations: 35.92 kB / 0.7764 GB, free: 18.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3874, allocations: 44.66 kB / 0.7765 GB, free: 18.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.3879, allocations: 471.5 kB / 0.7769 GB, free: 18.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.3881, allocations: 0.7243 MB / 0.7776 GB, free: 17.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.3881, allocations: 25.72 kB / 0.7777 GB, free: 17.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.3882, allocations: 15.44 kB / 0.7777 GB, free: 17.34 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3882, allocations: 0 / 0.7777 GB, free: 17.34 MB / 458.7 MB Notification: Performance of Templates: time 0.004508/0.3927, allocations: 2.234 MB / 0.7799 GB, free: 15.14 MB / 458.7 MB 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)