Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008463/0.0008462, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004414/0.004414, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005027, allocations: 14.81 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001905/0.2012, allocations: 1.494 MB / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2026, allocations: 0.9103 MB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.2026, allocations: 3.938 kB / 0.7904 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.2032, allocations: 159.6 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.2034, allocations: 99.69 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.2038, allocations: 130.8 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.204, allocations: 163.6 kB / 0.7909 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2041, allocations: 21.11 kB / 0.7909 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.2042, allocations: 71.62 kB / 0.791 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2043, allocations: 59.75 kB / 0.791 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2043, allocations: 0 / 0.791 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2044, allocations: 51.92 kB / 0.7911 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.2045, allocations: 39.84 kB / 0.7911 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.2046, allocations: 85.3 kB / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.2048, allocations: 183.7 kB / 0.7914 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2048, allocations: 0 / 0.7914 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2048, allocations: 0 / 0.7914 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2048, allocations: 3.938 kB / 0.7914 GB, free: 8.008 MB / 0.6075 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.0006047/0.2055, allocations: 472.5 kB / 0.7918 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2055, allocations: 8.031 kB / 0.7918 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.2055, allocations: 42.73 kB / 0.7919 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.2056, allocations: 20.66 kB / 0.7919 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.2059, allocations: 248.9 kB / 0.7921 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2059, allocations: 384 / 0.7921 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2059, allocations: 11.94 kB / 0.7921 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.2061, allocations: 87.31 kB / 0.7922 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.2061, allocations: 3.938 kB / 0.7922 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2061, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.2061, allocations: 7.984 kB / 0.7922 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.2062, allocations: 35.98 kB / 0.7923 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.2067, allocations: 364.6 kB / 0.7926 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.2069, allocations: 70.67 kB / 0.7927 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.2069, allocations: 32.84 kB / 0.7927 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.207, allocations: 0 / 0.7927 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.2071, allocations: 91.31 kB / 0.7928 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.2071, allocations: 0 / 0.7928 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003032/0.2074, allocations: 145.3 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2075, allocations: 81.11 kB / 0.793 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.2078, allocations: 263.4 kB / 0.7933 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2078, allocations: 29.7 kB / 0.7933 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.2079, allocations: 116.1 kB / 0.7934 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.2079, allocations: 35.62 kB / 0.7934 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.2079, allocations: 21.72 kB / 0.7935 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.208, allocations: 330.8 kB / 0.7938 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.2081, allocations: 24 kB / 0.7938 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.2082, allocations: 59.41 kB / 0.7939 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.2083, allocations: 77.67 kB / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2083, allocations: 0 / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001884/0.2085, allocations: 109.4 kB / 0.794 GB, free: 5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2085, allocations: 4 kB / 0.794 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2085, allocations: 4 kB / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2086, allocations: 0 / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.2086, allocations: 16.09 kB / 0.7941 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2087, allocations: 3.938 kB / 0.7941 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.2087, allocations: 28.19 kB / 0.7941 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.2087, allocations: 0 / 0.7941 GB, free: 4.945 MB / 0.6075 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 ($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.0001119/0.2089, allocations: 141.8 kB / 0.7942 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.2089, allocations: 15.81 kB / 0.7942 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.2089, allocations: 25.27 kB / 0.7943 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.209, allocations: 4 kB / 0.7943 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.209, allocations: 0 / 0.7943 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.209, allocations: 3.938 kB / 0.7943 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2092, allocations: 221.6 kB / 0.7945 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2092, allocations: 4 kB / 0.7945 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.2092, allocations: 7.984 kB / 0.7945 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2092, allocations: 0 / 0.7945 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.2092, allocations: 4 kB / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2092, allocations: 0 / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2092, allocations: 0 / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.2094, allocations: 144.8 kB / 0.7946 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.2095, allocations: 96.92 kB / 0.7947 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2095, allocations: 4 kB / 0.7947 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.148e-05/0.2096, allocations: 7.984 kB / 0.7947 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.2096, allocations: 11.94 kB / 0.7948 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.2096, allocations: 0 / 0.7948 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001652/0.2098, allocations: 196.6 kB / 0.7949 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2098, allocations: 0 / 0.7949 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002326/0.21, allocations: 27.91 kB / 0.795 GB, free: 3.949 MB / 0.6075 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 (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.001272/0.2113, allocations: 1.011 MB / 0.796 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.2115, allocations: 71.92 kB / 0.796 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2115, allocations: 0 / 0.796 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.2116, allocations: 36.14 kB / 0.7961 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2119, allocations: 49.42 kB / 0.7961 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.214, allocations: 1.983 MB / 0.798 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2143, allocations: 0.7278 MB / 0.7988 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.073e-05/0.2143, allocations: 21.42 kB / 0.7988 GB, free: 80 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.2144, allocations: 43.42 kB / 0.7988 GB, free: 36 kB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2144, allocations: 0 / 0.7988 GB, free: 36 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.2278, allocations: 4.005 MB / 0.8027 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.228, allocations: 239.9 kB / 0.803 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.986, allocations: 3.094 kB / 0.803 GB, free: 11.92 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)