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.001911/0.001911, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001923/0.001924, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.557/3.557, allocations: 205.4 MB / 222.1 MB, free: 5.664 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 3.532/3.532, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.001165/0.001165, allocations: 18.88 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4924, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004248/0.4967, allocations: 1.463 MB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.4992, allocations: 0.8521 MB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.4994, allocations: 7.938 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009241/0.5003, allocations: 139.7 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.5009, allocations: 99.73 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.5015, allocations: 122.8 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.5018, allocations: 95.8 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.502, allocations: 21.12 kB / 0.79 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.5021, allocations: 63.75 kB / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.5023, allocations: 59.75 kB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.5023, allocations: 0 / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.5025, allocations: 35.92 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.5027, allocations: 39.89 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.5028, allocations: 49.58 kB / 0.7902 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.5032, allocations: 148 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5032, allocations: 0 / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.597e-06/0.5032, allocations: 4 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.5033, allocations: 0 / 0.7903 GB, free: 8.707 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.001202/0.5045, allocations: 476.3 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.001e-05/0.5046, allocations: 8.031 kB / 0.7908 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.5046, allocations: 34.55 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.5047, allocations: 23.67 kB / 0.7909 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.5053, allocations: 239.7 kB / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.5053, allocations: 8 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.5054, allocations: 8 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.5057, allocations: 87.31 kB / 0.7912 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5057, allocations: 0 / 0.7912 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.5058, allocations: 4 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.5058, allocations: 4 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.506, allocations: 35.91 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.5069, allocations: 356.7 kB / 0.7916 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.5072, allocations: 74.61 kB / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.5073, allocations: 3.984 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.5076, allocations: 83.44 kB / 0.7917 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.5076, allocations: 4 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006659/0.5083, allocations: 226.7 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.5084, allocations: 81.05 kB / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.5089, allocations: 263.4 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.509, allocations: 29.7 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.5092, allocations: 116 kB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.5092, allocations: 23.66 kB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.5092, allocations: 3.984 kB / 0.7924 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002349/0.5095, allocations: 338.8 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.5096, allocations: 23.98 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.5098, allocations: 63.36 kB / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.5099, allocations: 32.36 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5099, allocations: 0 / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003067/0.5102, allocations: 117.4 kB / 0.793 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5103, allocations: 8 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5103, allocations: 0 / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.5103, allocations: 3.953 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.5105, allocations: 12 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.5105, allocations: 4 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.5106, allocations: 11.98 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.5106, allocations: 4 kB / 0.793 GB, free: 5.672 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 ($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.0002294/0.5109, allocations: 149.7 kB / 0.7932 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.5109, allocations: 15.81 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.511, allocations: 17.39 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.511, allocations: 4 kB / 0.7932 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.511, allocations: 3.953 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.5111, allocations: 0 / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.5114, allocations: 225.5 kB / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5114, allocations: 0 / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.5115, allocations: 4 kB / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5115, allocations: 0 / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.5115, allocations: 0 / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.5115, allocations: 11.92 kB / 0.7934 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5116, allocations: 0 / 0.7934 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.5119, allocations: 148.8 kB / 0.7936 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.5121, allocations: 96.91 kB / 0.7937 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.5121, allocations: 0 / 0.7937 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.5122, allocations: 4 kB / 0.7937 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.5123, allocations: 11.98 kB / 0.7937 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5123, allocations: 8 kB / 0.7937 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003111/0.5126, allocations: 188.5 kB / 0.7939 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5126, allocations: 4 kB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000436/0.5131, allocations: 27.98 kB / 0.7939 GB, free: 4.672 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 (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.002414/0.5155, allocations: 0.9988 MB / 0.7949 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.5159, allocations: 83.83 kB / 0.795 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5159, allocations: 0 / 0.795 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.516, allocations: 31.98 kB / 0.795 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.5164, allocations: 35.91 kB / 0.795 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.5193, allocations: 1.104 MB / 0.7961 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.5203, allocations: 0.7318 MB / 0.7968 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000137/0.5204, allocations: 25.72 kB / 0.7968 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.5206, allocations: 47.41 kB / 0.7969 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of SimCode: time 1.502e-06/0.5206, allocations: 0 / 0.7969 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.548, allocations: 3.956 MB / 0.8007 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.5484, allocations: 217.4 kB / 0.801 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.193/3.741, allocations: 0 / 0.801 GB, free: 13.62 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/linux/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) Environment - environmentSimulation: