Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 174.8 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006866/0.0006865, allocations: 93.16 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 11.42 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001308/0.1736, allocations: 1.045 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.174, allocations: 189 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.1741, allocations: 0 / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1742, allocations: 7.922 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.698e-05/0.1742, allocations: 0 / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.1744, allocations: 15.94 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.1744, allocations: 31.86 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.1745, allocations: 16.27 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.1746, allocations: 11.92 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.1746, allocations: 7.984 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1746, allocations: 4 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.1747, allocations: 0 / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.1747, allocations: 11.94 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1748, allocations: 11.94 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.1748, allocations: 39.8 kB / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1749, allocations: 0 / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1749, allocations: 0 / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1749, allocations: 0 / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003932/0.1753, allocations: 335.6 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1753, allocations: 12.03 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.1754, allocations: 34.75 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.1754, allocations: 4.844 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1755, allocations: 180.2 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1755, allocations: 8.375 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.1755, allocations: 384 / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.1756, allocations: 50.25 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1757, allocations: 3.938 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1757, allocations: 4 kB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1757, allocations: 3.938 kB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.1757, allocations: 15.98 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.1761, allocations: 300.7 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.1761, allocations: 26.58 kB / 0.8985 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.1762, allocations: 8.922 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.1762, allocations: 0 / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.714e-05/0.1763, allocations: 55.34 kB / 0.8986 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1763, allocations: 0 / 0.8986 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.000135/0.1764, allocations: 61.67 kB / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.1765, allocations: 51.41 kB / 0.8987 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.521e-05/0.1765, allocations: 105.8 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.1765, allocations: 25.7 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.1766, allocations: 92.05 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.1766, allocations: 3.906 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1766, allocations: 13.72 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.55e-05/0.1767, allocations: 322.8 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.1767, allocations: 8 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.1767, allocations: 17.72 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.1767, allocations: 29.64 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1767, allocations: 7.938 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.902e-05/0.1768, allocations: 49.64 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1768, allocations: 11.98 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1768, allocations: 0 / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1769, allocations: 4.031 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.967e-05/0.1769, allocations: 4 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1769, allocations: 0 / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.177, allocations: 4 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.177, allocations: 0 / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * 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 5.871e-05/0.177, allocations: 121.8 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.1771, allocations: 4 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.1771, allocations: 3.5 kB / 0.8995 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1771, allocations: 4 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1771, allocations: 0 / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1771, allocations: 0 / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.488e-05/0.1772, allocations: 177.4 kB / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1772, allocations: 0 / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-06/0.1772, allocations: 4 kB / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1772, allocations: 0 / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1772, allocations: 256 / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1772, allocations: 7.938 kB / 0.8996 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1772, allocations: 0 / 0.8996 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.191e-05/0.1773, allocations: 81.39 kB / 0.8997 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.1773, allocations: 85.12 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1774, allocations: 0 / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.1774, allocations: 8 kB / 0.8998 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1775, allocations: 3.984 kB / 0.8998 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1775, allocations: 4 kB / 0.8998 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.1775, allocations: 83.28 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1775, allocations: 4 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001783/0.1777, allocations: 7.938 kB / 0.8999 GB, free: 63.94 MB / 0.6042 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,booRep.y[3],booPul.pulseStart) * 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 (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.0002273/0.1779, allocations: 0.6201 MB / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.154e-05/0.178, allocations: 19.98 kB / 0.9005 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.178, allocations: 0 / 0.9005 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.178, allocations: 16 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1782, allocations: 8.797 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.1789, allocations: 1.162 MB / 0.9017 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.13e-05/0.179, allocations: 0.6848 MB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.179, allocations: 7.984 kB / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.179, allocations: 19.38 kB / 0.9024 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.179, allocations: 0 / 0.9024 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.186/0.3651, allocations: 1.219 MB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.3653, allocations: 226.9 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/1.92, allocations: 4.062 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)