Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.2 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 185.1 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008674/0.0008674, allocations: 85.17 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004404, allocations: 12.12 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001871/0.2273, allocations: 1.459 MB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2285, allocations: 0.8636 MB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.2286, allocations: 4 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.2291, allocations: 139.7 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.2293, allocations: 97.11 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.2297, allocations: 129.5 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2298, allocations: 91.81 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.2299, allocations: 25.09 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.23, allocations: 59.77 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.2301, allocations: 55.77 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2301, allocations: 0 / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.2302, allocations: 43.89 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.2303, allocations: 43.84 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.2303, allocations: 45.64 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2305, allocations: 148 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.2305, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2305, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2305, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 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.000581/0.2311, allocations: 480.3 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2311, allocations: 12.02 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.2312, allocations: 38.5 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.2312, allocations: 23.67 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.2315, allocations: 235.8 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2315, allocations: 8 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2315, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2317, allocations: 91.3 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2317, allocations: 0 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2317, allocations: 8 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.2318, allocations: 4 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.2318, allocations: 31.98 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.2323, allocations: 352.7 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.2325, allocations: 78.61 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2325, allocations: 4 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.2326, allocations: 83.39 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.043e-06/0.2326, allocations: 112 / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003087/0.233, allocations: 230.5 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.233, allocations: 81.11 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2332, allocations: 255.7 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2332, allocations: 33.69 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.2333, allocations: 124 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2333, allocations: 27.59 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.2333, allocations: 0 / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.2334, allocations: 330.8 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.2334, allocations: 23.98 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.2335, allocations: 67.39 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.2336, allocations: 32.03 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2336, allocations: 0 / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001581/0.2338, allocations: 113.4 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2338, allocations: 8 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2338, allocations: 0 / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2338, allocations: 4.328 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.2339, allocations: 15.92 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2339, allocations: 4 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.234, allocations: 8.031 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.234, allocations: 3.938 kB / 0.9853 GB, free: 21.36 MB / 0.6198 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.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 9.57e-05/0.2341, allocations: 145.8 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.2341, allocations: 19.8 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.2341, allocations: 13.41 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.2342, allocations: 4 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2342, allocations: 3.953 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2342, allocations: 3.984 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2343, allocations: 225.5 kB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2343, allocations: 8 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.2344, allocations: 0 / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2344, allocations: 4 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2344, allocations: 3.938 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2344, allocations: 0 / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2344, allocations: 0 / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.2346, allocations: 144.8 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.2347, allocations: 96.92 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.2347, allocations: 4 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.086e-05/0.2347, allocations: 7.984 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.2348, allocations: 8 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.2348, allocations: 3.984 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001287/0.2349, allocations: 196.3 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2349, allocations: 0 / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002209/0.2352, allocations: 28 kB / 0.9861 GB, free: 20.37 MB / 0.6198 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.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 (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.001102/0.2363, allocations: 1.006 MB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.2365, allocations: 71.91 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2365, allocations: 0 / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.775e-05/0.2365, allocations: 39.92 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.2368, allocations: 40.48 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.238, allocations: 1.096 MB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2381, allocations: 0.7356 MB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.515e-05/0.2382, allocations: 29.66 kB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.2383, allocations: 43.42 kB / 0.9891 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2383, allocations: 0 / 0.9891 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.2532, allocations: 3.964 MB / 0.993 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.2534, allocations: 237.9 kB / 0.9932 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.894, allocations: 0 / 0.9932 GB, free: 13.26 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)