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.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",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.541/1.541, allocations: 252 MB / 267 MB, free: 10.98 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.001315/0.001315, allocations: 184.5 kB / 326.6 MB, free: 2.238 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.951/1.951, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.000796/0.000796, allocations: 91.28 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 12.16 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1972, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001405/0.1987, allocations: 1.062 MB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000295/0.199, allocations: 144.5 kB / 0.9015 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.1991, allocations: 7.938 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.301e-05/0.1992, allocations: 0 / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.862e-05/0.1992, allocations: 7.922 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1993, allocations: 12 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.1994, allocations: 27.92 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.1995, allocations: 15.98 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.1996, allocations: 15.91 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.1996, allocations: 11.94 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1996, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.1997, allocations: 4 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.1997, allocations: 7.984 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1997, allocations: 29.7 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.481e-05/0.1998, allocations: 23.94 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1998, allocations: 0 / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1998, allocations: 0 / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1998, allocations: 4 kB / 0.9017 GB, free: 62.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003709/0.2002, allocations: 343.6 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2002, allocations: 8.031 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.2003, allocations: 34.56 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2003, allocations: 7.906 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2004, allocations: 182.9 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2004, allocations: 4 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2005, allocations: 8 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.2007, allocations: 65.66 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2007, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2007, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2007, allocations: 4 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.2009, allocations: 55.95 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2013, allocations: 280.7 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2014, allocations: 46.56 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.2015, allocations: 32.89 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2016, allocations: 0 / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.2016, allocations: 34.56 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2016, allocations: 7.938 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.2019, allocations: 105.6 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.202, allocations: 55.53 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.51e-05/0.202, allocations: 105.8 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.202, allocations: 25.7 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.2021, allocations: 88.05 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.2021, allocations: 3.906 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.2021, allocations: 7.938 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.2021, allocations: 314.8 kB / 0.9034 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.2022, allocations: 31.92 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.2023, allocations: 19.98 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.2024, allocations: 23.97 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2024, allocations: 3.938 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.2026, allocations: 81.72 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2026, allocations: 4 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2027, allocations: 0 / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2027, allocations: 4 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2028, allocations: 16.02 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2028, allocations: 3.953 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.2028, allocations: 7.984 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2029, allocations: 8 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.341e-05/0.203, allocations: 105.8 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.203, allocations: 4 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.203, allocations: 11.11 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.203, allocations: 4 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.203, allocations: 0 / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.203, allocations: 3.953 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.2032, allocations: 165.6 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2032, allocations: 0 / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.2032, allocations: 15.98 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2032, allocations: 3.938 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2033, allocations: 0 / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2033, allocations: 0 / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2033, allocations: 0 / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2035, allocations: 187.4 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.2035, allocations: 77.11 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.2035, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.248e-05/0.2036, allocations: 16.02 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.2037, allocations: 8 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.2037, allocations: 0 / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.294e-05/0.2037, allocations: 87.52 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2037, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001973/0.2039, allocations: 8 kB / 0.9043 GB, free: 59.44 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004046/0.2043, allocations: 0.7162 MB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2046, allocations: 51.98 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2046, allocations: 0 / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2047, allocations: 27.97 kB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.2049, allocations: 13.94 kB / 0.905 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.2057, allocations: 442.4 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2058, allocations: 0.6809 MB / 0.9061 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.955e-05/0.2059, allocations: 3.984 kB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.2059, allocations: 15.44 kB / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2059, allocations: 0 / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.2165, allocations: 1.251 MB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.2168, allocations: 204.1 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.771, allocations: 4.062 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)