Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001238/0.001238, allocations: 192 kB / 16.14 MB, free: 6.707 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.337/1.337, allocations: 205.1 MB / 222 MB, free: 4.965 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.597/1.597, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001371/0.001371, allocations: 69.23 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2027, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001604/0.2043, allocations: 0.7445 MB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.2051, allocations: 0.832 MB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.2052, allocations: 4 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.725e-05/0.2053, allocations: 0 / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.2054, allocations: 11.92 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.858e-05/0.2054, allocations: 19.98 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.838e-05/0.2055, allocations: 63.89 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2057, allocations: 27.98 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.2057, allocations: 39.78 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.2058, allocations: 31.89 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2058, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.2058, allocations: 4 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.2059, allocations: 32.97 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.2059, allocations: 31.8 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.561e-05/0.206, allocations: 83.73 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.206, allocations: 0 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.206, allocations: 0 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.2061, allocations: 0 / 0.7847 GB, free: 11.97 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000522/0.2066, allocations: 399.5 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2066, allocations: 12.03 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.2067, allocations: 42.73 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.2067, allocations: 4.844 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.2068, allocations: 200.2 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2069, allocations: 4.375 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.2069, allocations: 8.375 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.2072, allocations: 151.8 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2072, allocations: 3.938 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2073, allocations: 8 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2073, allocations: 4 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.2077, allocations: 155.7 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.2082, allocations: 456.6 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.2084, allocations: 109.1 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2086, allocations: 81.64 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2086, allocations: 0 / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2087, allocations: 30.56 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.2087, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0006544/0.2093, allocations: 237.4 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2094, allocations: 77.11 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.2095, allocations: 125.8 kB / 0.7867 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2095, allocations: 25.7 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.2095, allocations: 99.94 kB / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2096, allocations: 11.91 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.2096, allocations: 29.86 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.2097, allocations: 310.8 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.2099, allocations: 59.92 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2101, allocations: 77.62 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.2104, allocations: 133.5 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2104, allocations: 0 / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004008/0.2108, allocations: 169.4 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2109, allocations: 8 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2109, allocations: 0 / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.2109, allocations: 0 / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.211, allocations: 27.97 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2111, allocations: 3.938 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2112, allocations: 20.28 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.2112, allocations: 8.031 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.916e-05/0.2113, allocations: 130.5 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.2113, allocations: 4 kB / 0.7878 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.2113, allocations: 15.45 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2114, allocations: 4 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2114, allocations: 3.938 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.2114, allocations: 0 / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.2116, allocations: 201.7 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2116, allocations: 0 / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2117, allocations: 23.97 kB / 0.788 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2117, allocations: 8 kB / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2118, allocations: 4 kB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2118, allocations: 3.938 kB / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2118, allocations: 3.938 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.2122, allocations: 330.7 kB / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.2123, allocations: 81.02 kB / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2123, allocations: 7.984 kB / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2124, allocations: 15.98 kB / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.2125, allocations: 27.89 kB / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.2125, allocations: 0 / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.2126, allocations: 95.27 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2126, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002529/0.2129, allocations: 16 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006714/0.2135, allocations: 0.8717 MB / 0.7894 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.2139, allocations: 135.8 kB / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.2139, allocations: 0 / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.2142, allocations: 88.08 kB / 0.7896 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2145, allocations: 15.98 kB / 0.7897 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.2164, allocations: 1.699 MB / 0.7913 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2166, allocations: 0.7046 MB / 0.792 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.2167, allocations: 19.98 kB / 0.792 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.2167, allocations: 23.42 kB / 0.792 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2167, allocations: 3.938 kB / 0.792 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.233/1.449, allocations: 2.079 MB / 0.7941 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/1.45, allocations: 227.2 kB / 0.7943 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/3.106, allocations: 2.875 kB / 0.7943 GB, free: 1.723 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)