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.0008578/0.0008578, allocations: 100 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.0008732/0.0008733, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.878/1.878, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0007951/0.0007953, allocations: 19.97 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2877, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0007773/0.2886, allocations: 353.9 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2898, allocations: 1.072 MB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.2899, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.165e-05/0.2899, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.96e-05/0.29, allocations: 11.98 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.2904, allocations: 107.2 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.2905, allocations: 47.94 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.52e-05/0.2905, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.2906, allocations: 35.91 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.2907, allocations: 19.95 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2907, allocations: 8 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.416e-05/0.2907, allocations: 12 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.2908, allocations: 15.92 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.2908, allocations: 33.7 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/0.2909, allocations: 63.86 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.2909, allocations: 0 / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.291, allocations: 3.984 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.291, allocations: 0 / 0.789 GB, free: 10.07 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.0003519/0.2913, allocations: 364 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2914, allocations: 8.031 kB / 0.7893 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.2914, allocations: 34.56 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2914, allocations: 4 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2916, allocations: 190.9 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2916, allocations: 4 kB / 0.7895 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2916, allocations: 4 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.2917, allocations: 49.62 kB / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.2918, allocations: 0 / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.2918, allocations: 0 / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2918, allocations: 4 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.2918, allocations: 11.98 kB / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.2921, allocations: 312.7 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.55e-05/0.2922, allocations: 26.52 kB / 0.7899 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-06/0.2922, allocations: 0 / 0.7899 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.2923, allocations: 55.39 kB / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2923, allocations: 0 / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001611/0.2925, allocations: 73.53 kB / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2925, allocations: 51.41 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.2926, allocations: 113.8 kB / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2926, allocations: 29.7 kB / 0.7902 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.2927, allocations: 88.03 kB / 0.7903 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.2927, allocations: 11.98 kB / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.2927, allocations: 0 / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.2928, allocations: 310.8 kB / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.2929, allocations: 31.98 kB / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.293, allocations: 50.55 kB / 0.7907 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.293, allocations: 53.7 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.293, allocations: 0 / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002215/0.2933, allocations: 151.2 kB / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2933, allocations: 33.7 kB / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2933, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2933, allocations: 4.094 kB / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-05/0.2934, allocations: 7.938 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2934, allocations: 0 / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2936, allocations: 39.91 kB / 0.791 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2936, allocations: 8 kB / 0.791 GB, free: 7.73 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 ($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 8.152e-05/0.2937, allocations: 117.8 kB / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.2937, allocations: 0 / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.2938, allocations: 15.89 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2938, allocations: 0 / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2938, allocations: 0 / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2938, allocations: 240 / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.2939, allocations: 161.6 kB / 0.7913 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2939, allocations: 0 / 0.7913 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.2939, allocations: 3.984 kB / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2939, allocations: 3.984 kB / 0.7913 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2939, allocations: 4 kB / 0.7913 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2939, allocations: 11.92 kB / 0.7913 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2939, allocations: 0 / 0.7913 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.874e-05/0.294, allocations: 84.92 kB / 0.7914 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.2941, allocations: 77.11 kB / 0.7915 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2941, allocations: 4.312 kB / 0.7915 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.457e-05/0.2941, allocations: 3.984 kB / 0.7915 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.2941, allocations: 4 kB / 0.7915 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2941, allocations: 8 kB / 0.7915 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.2942, allocations: 83.28 kB / 0.7916 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2942, allocations: 3.938 kB / 0.7916 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002001/0.2944, allocations: 19.98 kB / 0.7916 GB, free: 7.031 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 (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.0003371/0.2947, allocations: 0.624 MB / 0.7922 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.2949, allocations: 119.4 kB / 0.7923 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2949, allocations: 0 / 0.7923 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.295, allocations: 15.92 kB / 0.7923 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.2951, allocations: 8 kB / 0.7923 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.2956, allocations: 0.648 MB / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2958, allocations: 0.6848 MB / 0.7936 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.2958, allocations: 4 kB / 0.7936 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.2958, allocations: 15.44 kB / 0.7937 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2958, allocations: 4 kB / 0.7937 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.3421, allocations: 1.697 MB / 0.7953 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.3423, allocations: 204.3 kB / 0.7955 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.31, allocations: 3.938 kB / 0.7955 GB, free: 2.992 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/linux/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) Environment - environmentSimulation: