Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008226, allocations: 98.03 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.004808/0.004808, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.172/1.172, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.462/1.462, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005336/0.0005337, allocations: 16.19 kB / 0.6744 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2144, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0008365/0.2152, allocations: 373.8 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2167, allocations: 1.107 MB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.2167, allocations: 0 / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.2168, allocations: 0 / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.405e-05/0.2168, allocations: 15.91 kB / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.2173, allocations: 111 kB / 0.7896 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2174, allocations: 75.83 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.2175, allocations: 8 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.2176, allocations: 35.89 kB / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.2176, allocations: 15.97 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2177, allocations: 8 kB / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.2177, allocations: 19.98 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.2178, allocations: 7.938 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.2179, allocations: 61.59 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.218, allocations: 79.77 kB / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.218, allocations: 0 / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.218, allocations: 0 / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2181, allocations: 0 / 0.7899 GB, free: 9.559 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004507/0.2185, allocations: 369.4 kB / 0.7902 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2186, allocations: 12.03 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.2186, allocations: 30.75 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.2187, allocations: 16.83 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.2189, allocations: 176.3 kB / 0.7904 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2189, allocations: 8.375 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.2189, allocations: 4.375 kB / 0.7904 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.219, allocations: 50.25 kB / 0.7905 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2191, allocations: 11.86 kB / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2191, allocations: 0 / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2191, allocations: 3.938 kB / 0.7905 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.2191, allocations: 12 kB / 0.7905 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.2195, allocations: 304.7 kB / 0.7908 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.706e-05/0.2196, allocations: 22.58 kB / 0.7908 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.2196, allocations: 20.89 kB / 0.7908 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.2196, allocations: 0 / 0.7908 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.2198, allocations: 63.25 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2198, allocations: 4 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001745/0.2199, allocations: 61.67 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.22, allocations: 51.41 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.2201, allocations: 105.8 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.2201, allocations: 33.7 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.2202, allocations: 92.05 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.2202, allocations: 3.906 kB / 0.7912 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.2203, allocations: 21.7 kB / 0.7913 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2204, allocations: 318.8 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.2205, allocations: 31.98 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.2206, allocations: 42.56 kB / 0.7916 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.2207, allocations: 84.2 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2207, allocations: 0 / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002202/0.2209, allocations: 143.3 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.221, allocations: 41.69 kB / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.221, allocations: 0 / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.221, allocations: 0 / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.221, allocations: 4 kB / 0.7919 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.221, allocations: 3.938 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.2213, allocations: 36.06 kB / 0.7919 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.2213, allocations: 11.98 kB / 0.792 GB, free: 7.129 MB / 0.6075 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/0.2214, allocations: 125.3 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.2214, allocations: 3.906 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2214, allocations: 7.906 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2215, allocations: 0 / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2215, allocations: 3.984 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2215, allocations: 0 / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.2216, allocations: 173.6 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2216, allocations: 0 / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-06/0.2216, allocations: 4.25 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2216, allocations: 0 / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2217, allocations: 11.98 kB / 0.7923 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2217, allocations: 0 / 0.7923 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2217, allocations: 3.938 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.2218, allocations: 81 kB / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.2218, allocations: 81.11 kB / 0.7924 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2218, allocations: 4 kB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.2219, allocations: 0 / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.2219, allocations: 4.266 kB / 0.7924 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2219, allocations: 4 kB / 0.7924 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.222, allocations: 83.28 kB / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.222, allocations: 0 / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001953/0.2222, allocations: 12 kB / 0.7925 GB, free: 6.438 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: 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 (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.0004425/0.2226, allocations: 0.6319 MB / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2228, allocations: 119.3 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2229, allocations: 0 / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.2229, allocations: 15.98 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.2231, allocations: 6.25 kB / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2244, allocations: 1.378 MB / 0.7946 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.2247, allocations: 0.6809 MB / 0.7953 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.2247, allocations: 7.984 kB / 0.7953 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.2247, allocations: 11.44 kB / 0.7953 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of SimCode: time 1.593e-06/0.2247, allocations: 4 kB / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.2366, allocations: 1.738 MB / 0.797 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.2369, allocations: 219.3 kB / 0.7972 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2, allocations: 0 / 0.7972 GB, free: 1.574 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)