Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.0009768/0.0009767, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001012/0.001012, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.155/1.155, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.683/1.683, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001281/0.001281, allocations: 68.02 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1939, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.00176/0.1957, allocations: 0.7037 MB / 0.7837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007445/0.1965, allocations: 0.801 MB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.1965, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.486e-05/0.1966, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.1966, allocations: 3.938 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.168e-05/0.1967, allocations: 11.94 kB / 0.7845 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1968, allocations: 23.92 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.897e-05/0.1969, allocations: 4 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.1969, allocations: 11.98 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.197, allocations: 11.92 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.197, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.197, allocations: 4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.197, allocations: 4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.1971, allocations: 19.91 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.249e-05/0.1971, allocations: 27.91 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1972, allocations: 0 / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1972, allocations: 0 / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1972, allocations: 0 / 0.7846 GB, free: 12.17 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.0003867/0.1976, allocations: 351.6 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1976, allocations: 12.03 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.1976, allocations: 30.75 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.737e-05/0.1977, allocations: 4.938 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1978, allocations: 180.3 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1978, allocations: 4.359 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.1978, allocations: 4.312 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.198, allocations: 58.23 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.198, allocations: 3.938 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.198, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.198, allocations: 4 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1982, allocations: 31.97 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.1985, allocations: 284.8 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.1986, allocations: 30.56 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.1987, allocations: 20.91 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1987, allocations: 0 / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.1987, allocations: 34.56 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1987, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002875/0.199, allocations: 85.58 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1991, allocations: 51.41 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.1991, allocations: 101.8 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1992, allocations: 25.7 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.1992, allocations: 92.08 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.1992, allocations: 3.906 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.1992, allocations: 13.72 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1993, allocations: 322.8 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.1994, allocations: 15.98 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.1995, allocations: 11.98 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1996, allocations: 32.83 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1996, allocations: 4 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000159/0.1998, allocations: 69.66 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1998, allocations: 4 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1998, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.1998, allocations: 3.938 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.1999, allocations: 7.984 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1999, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.2, allocations: 7.984 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.719e-05/0.2, allocations: 124.7 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.2001, allocations: 0 / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.634e-05/0.2001, allocations: 7.125 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2001, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2001, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.2001, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2003, allocations: 161.8 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2003, allocations: 4 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.2003, allocations: 11.98 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2003, allocations: 4 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2003, allocations: 0 / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2003, allocations: 0 / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2003, allocations: 0 / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.2006, allocations: 167.4 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.2006, allocations: 81.02 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.2006, allocations: 0 / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.2007, allocations: 15.95 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.2007, allocations: 0 / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.2007, allocations: 0 / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.2008, allocations: 83.28 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2008, allocations: 0 / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001954/0.201, allocations: 4 kB / 0.787 GB, free: 9.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0004539/0.2014, allocations: 0.6928 MB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2016, allocations: 35.95 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2016, allocations: 0 / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.2017, allocations: 20.08 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.202, allocations: 7.094 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2031, allocations: 1.23 MB / 0.789 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.2034, allocations: 0.6846 MB / 0.7896 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.2034, allocations: 11.92 kB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2034, allocations: 7.438 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2035, allocations: 0 / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009693/0.2132, allocations: 1.127 MB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.2134, allocations: 208.5 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.064, allocations: 10.95 kB / 0.791 GB, free: 5.238 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)