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.001069/0.001069, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 193.3 kB / 16.64 MB, free: 6.578 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.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 4.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.696/1.696, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001405/0.001405, allocations: 68.09 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2371, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001813/0.2389, allocations: 0.6261 MB / 0.7843 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2402, allocations: 1.117 MB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.2402, allocations: 0 / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.481e-05/0.2403, allocations: 3.938 kB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.478e-05/0.2404, allocations: 11.92 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.2409, allocations: 118.8 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.241, allocations: 87.89 kB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.2411, allocations: 15.98 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.116e-05/0.2412, allocations: 35.91 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2413, allocations: 31.89 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.2413, allocations: 8 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.144e-05/0.2414, allocations: 27.92 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.2415, allocations: 7.984 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.2415, allocations: 31.91 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2417, allocations: 91.72 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.2417, allocations: 4 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2417, allocations: 3.938 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.2417, allocations: 4 kB / 0.7858 GB, free: 11.02 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.0004577/0.2422, allocations: 377.4 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2422, allocations: 8.031 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.2423, allocations: 38.73 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.2423, allocations: 8.844 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.2425, allocations: 176.4 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2426, allocations: 8.359 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.2426, allocations: 4.375 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.2427, allocations: 42.25 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2427, allocations: 7.938 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2427, allocations: 8 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2427, allocations: 0 / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.2428, allocations: 7.938 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.2431, allocations: 308.8 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.561e-05/0.2432, allocations: 18.58 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.2432, allocations: 9.922 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.2432, allocations: 7.938 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.2434, allocations: 63.36 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.2434, allocations: 0 / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000186/0.2436, allocations: 57.69 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2437, allocations: 55.41 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.2438, allocations: 109.8 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2438, allocations: 25.7 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.2439, allocations: 100 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.2439, allocations: 7.891 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.244, allocations: 33.7 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2441, allocations: 314.8 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.2441, allocations: 31.98 kB / 0.7876 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.2442, allocations: 46.55 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.2443, allocations: 84.22 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2443, allocations: 4.25 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002435/0.2446, allocations: 147.5 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.2446, allocations: 29.7 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2446, allocations: 4 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2447, allocations: 4 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.832e-05/0.2447, allocations: 3.984 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2447, allocations: 11.92 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.2449, allocations: 28.06 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.2449, allocations: 7.984 kB / 0.7879 GB, free: 8.59 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.914e-05/0.245, allocations: 118.4 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.2451, allocations: 7.906 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.2451, allocations: 7.906 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2451, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2451, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2451, allocations: 7.984 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2452, allocations: 161.6 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2452, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-06/0.2452, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2453, allocations: 4 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2453, allocations: 0 / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2453, allocations: 7.922 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2453, allocations: 0 / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.975e-05/0.2454, allocations: 81.06 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.2454, allocations: 81.11 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2454, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.355e-05/0.2455, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2455, allocations: 3.984 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2455, allocations: 4 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.2455, allocations: 83.28 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2456, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000212/0.2458, allocations: 20 kB / 0.7885 GB, free: 7.91 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.0003747/0.2461, allocations: 0.6279 MB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.2464, allocations: 115.4 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2464, allocations: 0 / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.2464, allocations: 19.92 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.2466, allocations: 8.125 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.248, allocations: 1.377 MB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2482, allocations: 0.6807 MB / 0.7912 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.2483, allocations: 4 kB / 0.7912 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.2483, allocations: 15.42 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2483, allocations: 0 / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.2661, allocations: 1.982 MB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.632, allocations: 10.75 kB / 0.7932 GB, free: 3.023 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)