Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.838/2.838, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001541/0.001541, allocations: 178.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.274/2.274, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001072/0.001072, allocations: 93.42 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004976, allocations: 11.97 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2166, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0007897/0.2174, allocations: 341.9 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2189, allocations: 1.083 MB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.219, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.463e-05/0.2191, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.605e-05/0.2191, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.2197, allocations: 110.7 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.2198, allocations: 47.94 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.2199, allocations: 0 / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.22, allocations: 35.91 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.22, allocations: 23.97 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.2201, allocations: 4 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.2202, allocations: 31.84 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.2202, allocations: 4 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.2203, allocations: 29.7 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2204, allocations: 63.86 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2204, allocations: 0 / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2204, allocations: 0 / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2205, allocations: 0 / 0.98 GB, free: 26.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003451/0.2208, allocations: 365.2 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2209, allocations: 16.02 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.2209, allocations: 38.55 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.221, allocations: 4 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2211, allocations: 190.8 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2212, allocations: 4 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.2212, allocations: 8 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2213, allocations: 49.67 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2213, allocations: 0 / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.2214, allocations: 0 / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2214, allocations: 4 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.2214, allocations: 12 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.2218, allocations: 304.7 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.2219, allocations: 22.56 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.2219, allocations: 0 / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.222, allocations: 59.47 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.615e-06/0.222, allocations: 3.984 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002007/0.2222, allocations: 65.52 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2223, allocations: 59.36 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.2224, allocations: 109.8 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2224, allocations: 25.7 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.2225, allocations: 99.92 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.2225, allocations: 0 / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.2225, allocations: 8 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.2226, allocations: 314.8 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2227, allocations: 31.98 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2228, allocations: 42.56 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.223, allocations: 61.62 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.223, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003266/0.2233, allocations: 151.2 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.2234, allocations: 29.7 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2234, allocations: 4 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2234, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.2234, allocations: 3.984 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2235, allocations: 7.938 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.2238, allocations: 44.06 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.2239, allocations: 4 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.295e-05/0.224, allocations: 113.8 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.224, allocations: 4 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.224, allocations: 7.906 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.224, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2241, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2241, allocations: 3.953 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2242, allocations: 165.7 kB / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2242, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.2242, allocations: 4.312 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2242, allocations: 0 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.2242, allocations: 3.938 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2243, allocations: 4 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2243, allocations: 0 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.2244, allocations: 84.98 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.2244, allocations: 81.09 kB / 0.9825 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2245, allocations: 4 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.2245, allocations: 4 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.2245, allocations: 4 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2245, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.2246, allocations: 83.27 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2246, allocations: 3.938 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002773/0.2249, allocations: 20 kB / 0.9826 GB, free: 23.48 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003291/0.2252, allocations: 0.6279 MB / 0.9832 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2255, allocations: 119.4 kB / 0.9833 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2255, allocations: 3.938 kB / 0.9833 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.2255, allocations: 8.266 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.2258, allocations: 11.98 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.2264, allocations: 0.652 MB / 0.984 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2265, allocations: 0.6926 MB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.2266, allocations: 0 / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.2266, allocations: 15.44 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.353e-06/0.2266, allocations: 0 / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.2507, allocations: 1.714 MB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.2511, allocations: 195 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.622, allocations: 0 / 0.9866 GB, free: 19.45 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)