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.491/1.491, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0008324/0.0008323, allocations: 179.4 kB / 372.3 MB, free: 10.12 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.339/1.339, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0006669/0.0006668, allocations: 98.8 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004265, allocations: 13.19 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001911/0.2099, allocations: 1.47 MB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2113, allocations: 0.8676 MB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.2115, allocations: 8 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.2122, allocations: 141.9 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.2124, allocations: 103.7 kB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.2128, allocations: 135.3 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2131, allocations: 139.6 kB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2132, allocations: 29.08 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2133, allocations: 59.7 kB / 0.9831 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2134, allocations: 63.75 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2135, allocations: 4 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2136, allocations: 47.92 kB / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.2137, allocations: 43.81 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.2138, allocations: 77.38 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.214, allocations: 143.9 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.214, allocations: 3.984 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.345e-06/0.214, allocations: 4 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.214, allocations: 0 / 0.9834 GB, free: 23.91 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.0006093/0.2146, allocations: 472.5 kB / 0.9839 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.2147, allocations: 8.031 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.2147, allocations: 34.75 kB / 0.9839 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.2148, allocations: 24.66 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2151, allocations: 248.8 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2151, allocations: 4.375 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.2151, allocations: 7.922 kB / 0.9842 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2153, allocations: 83.39 kB / 0.9843 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2153, allocations: 0 / 0.9843 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2153, allocations: 7.938 kB / 0.9843 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.2154, allocations: 3.984 kB / 0.9843 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.2155, allocations: 35.98 kB / 0.9843 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.2159, allocations: 352.7 kB / 0.9847 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2161, allocations: 74.61 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.2162, allocations: 40.84 kB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2162, allocations: 0 / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.2164, allocations: 87.38 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2164, allocations: 0 / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003169/0.2167, allocations: 137.4 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2167, allocations: 81.11 kB / 0.9851 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.217, allocations: 267.6 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.217, allocations: 29.7 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.217, allocations: 116.1 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.2171, allocations: 28.03 kB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.2171, allocations: 3.938 kB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.2172, allocations: 330.8 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.2172, allocations: 31.88 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.2173, allocations: 55.41 kB / 0.9859 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.2174, allocations: 77.73 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2174, allocations: 0 / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001706/0.2176, allocations: 109.4 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2176, allocations: 8 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2176, allocations: 0 / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2176, allocations: 0 / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.2177, allocations: 15.92 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2177, allocations: 4 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.2178, allocations: 23.81 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.2178, allocations: 0 / 0.9861 GB, free: 20.9 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 0.0001103/0.2179, allocations: 151.1 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.218, allocations: 15.81 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.218, allocations: 17.39 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.218, allocations: 4 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.218, allocations: 0 / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.218, allocations: 7.938 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.2182, allocations: 221.6 kB / 0.9865 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2182, allocations: 4 kB / 0.9865 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.2182, allocations: 3.984 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.2182, allocations: 4 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2182, allocations: 0 / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2183, allocations: 3.938 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2183, allocations: 0 / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.2184, allocations: 148.9 kB / 0.9867 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2185, allocations: 96.92 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.2185, allocations: 3.938 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.2186, allocations: 7.984 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2186, allocations: 7.938 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2186, allocations: 4 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001418/0.2188, allocations: 200.3 kB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2188, allocations: 0 / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002311/0.219, allocations: 35.91 kB / 0.987 GB, free: 19.89 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.001101/0.2201, allocations: 1.008 MB / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.2203, allocations: 67.97 kB / 0.988 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2203, allocations: 0 / 0.988 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.624e-05/0.2204, allocations: 40 kB / 0.9881 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2207, allocations: 35.91 kB / 0.9881 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2219, allocations: 0.9682 MB / 0.9891 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2221, allocations: 0.7279 MB / 0.9898 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.528e-05/0.2221, allocations: 25.7 kB / 0.9898 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.2222, allocations: 43.42 kB / 0.9898 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2222, allocations: 0 / 0.9898 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.989/3.211, allocations: 3.993 MB / 0.9937 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/3.211, allocations: 239.8 kB / 0.994 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/5.396, allocations: 0 / 0.994 GB, free: 12.89 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)