Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005291/0.005291, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.462/1.462, allocations: 205.4 MB / 222.4 MB, free: 5.539 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.71/1.71, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004928/0.0004929, allocations: 15.81 kB / 0.6744 GB, free: 25.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2139, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0008359/0.2147, allocations: 409.5 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.2156, allocations: 0.8204 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.2157, allocations: 0 / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.929e-05/0.2158, allocations: 3.938 kB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.2158, allocations: 3.984 kB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.2159, allocations: 23.98 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.216, allocations: 27.92 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.2161, allocations: 8 kB / 0.7893 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.2162, allocations: 15.92 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.2162, allocations: 19.91 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2162, allocations: 4 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.2163, allocations: 0 / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.2163, allocations: 5.062 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.2164, allocations: 41.56 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.762e-05/0.2164, allocations: 35.86 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2165, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2165, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2165, allocations: 8 kB / 0.7894 GB, free: 10.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004299/0.2169, allocations: 343.7 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.217, allocations: 12.03 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.217, allocations: 34.69 kB / 0.7898 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.217, allocations: 0.9375 kB / 0.7898 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2172, allocations: 176.3 kB / 0.7899 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.2172, allocations: 12.31 kB / 0.7899 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2172, allocations: 4.375 kB / 0.7899 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.2174, allocations: 74.2 kB / 0.79 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2175, allocations: 3.938 kB / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2175, allocations: 0 / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.2175, allocations: 0 / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.2177, allocations: 63.89 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.2181, allocations: 280.8 kB / 0.7903 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.2182, allocations: 46.62 kB / 0.7904 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.2183, allocations: 28.83 kB / 0.7904 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2183, allocations: 4 kB / 0.7904 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2184, allocations: 34.5 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2184, allocations: 4 kB / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003834/0.2188, allocations: 101.5 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2188, allocations: 55.53 kB / 0.7906 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.2189, allocations: 105.8 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2189, allocations: 25.7 kB / 0.7907 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.219, allocations: 91.98 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.219, allocations: 4 kB / 0.7908 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.219, allocations: 13.7 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2191, allocations: 318.8 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.856e-05/0.2192, allocations: 23.98 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.2193, allocations: 31.91 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.2195, allocations: 48.89 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2195, allocations: 4 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002168/0.2197, allocations: 81.56 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2198, allocations: 4 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2198, allocations: 12.02 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2198, allocations: 0 / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2199, allocations: 8 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2199, allocations: 0 / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.22, allocations: 7.984 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.22, allocations: 4 kB / 0.7914 GB, free: 7.801 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.2201, allocations: 118.4 kB / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2201, allocations: 11.98 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.2202, allocations: 3.125 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2202, allocations: 0 / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2202, allocations: 0 / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2202, allocations: 0 / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2204, allocations: 173.7 kB / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2204, allocations: 4 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.2205, allocations: 11.98 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2205, allocations: 3.938 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2205, allocations: 4 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2205, allocations: 0 / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2205, allocations: 3.984 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.2208, allocations: 179.5 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.2208, allocations: 85.2 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.2208, allocations: 3.984 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.2209, allocations: 12 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.221, allocations: 7.984 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.221, allocations: 3.938 kB / 0.792 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.221, allocations: 83.28 kB / 0.792 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.221, allocations: 0 / 0.792 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002088/0.2212, allocations: 8.031 kB / 0.792 GB, free: 7 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: 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 (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.0004964/0.2217, allocations: 0.7124 MB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.222, allocations: 51.95 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.222, allocations: 0 / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.787e-05/0.2221, allocations: 36.02 kB / 0.7928 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.2223, allocations: 7.078 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2237, allocations: 1.287 MB / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2239, allocations: 0.6849 MB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.516e-05/0.2239, allocations: 0 / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.224, allocations: 15.44 kB / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of SimCode: time 4.9e-07/0.224, allocations: 0 / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009695/0.2337, allocations: 1.221 MB / 0.796 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.2339, allocations: 230 kB / 0.7962 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.9, allocations: 7.938 kB / 0.7962 GB, free: 2.73 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)