Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.0007492/0.0007491, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004704/0.004704, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.395/1.395, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.628/1.628, 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.0004919/0.0004918, allocations: 14.88 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, 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.RealVectorReplicator): time 0.0009443/0.2201, allocations: 385.5 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009678/0.221, allocations: 0.7893 MB / 0.7891 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.2211, allocations: 4 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.613e-05/0.2212, allocations: 7.938 kB / 0.7892 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.2213, allocations: 3.984 kB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.128e-05/0.2213, allocations: 8 kB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.408e-05/0.2214, allocations: 59.77 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2216, allocations: 15.98 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.2216, allocations: 27.92 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.2217, allocations: 23.91 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2217, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.2217, allocations: 4 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.2218, allocations: 23.91 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.2219, allocations: 45.52 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.055e-05/0.222, allocations: 71.75 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.222, allocations: 0 / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.222, allocations: 0 / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.222, allocations: 0 / 0.7894 GB, free: 10.01 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005862/0.2226, allocations: 391.6 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2226, allocations: 8.031 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.2227, allocations: 38.75 kB / 0.7898 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.2227, allocations: 4.938 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.2229, allocations: 180.2 kB / 0.79 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2229, allocations: 12.38 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.223, allocations: 8.312 kB / 0.79 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.2233, allocations: 143.8 kB / 0.7902 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.2233, allocations: 3.938 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2234, allocations: 4 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2234, allocations: 0 / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.2238, allocations: 151.8 kB / 0.7903 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.2244, allocations: 448.9 kB / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.2247, allocations: 101.1 kB / 0.7909 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.2249, allocations: 73.7 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2249, allocations: 4 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2249, allocations: 38.5 kB / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.225, allocations: 0 / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006682/0.2256, allocations: 225.4 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.2257, allocations: 81.27 kB / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.2258, allocations: 129.7 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2258, allocations: 25.7 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.2259, allocations: 95.98 kB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.2259, allocations: 7.906 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.2259, allocations: 13.72 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.226, allocations: 314.8 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.2262, allocations: 67.92 kB / 0.7919 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.2264, allocations: 77.66 kB / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.2268, allocations: 125.6 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2268, allocations: 4 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000398/0.2272, allocations: 157.5 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2272, allocations: 8 kB / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.2272, allocations: 384 / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.2272, allocations: 0 / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2274, allocations: 28.03 kB / 0.7923 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.2274, allocations: 0 / 0.7923 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/0.2275, allocations: 27.86 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2275, allocations: 0 / 0.7923 GB, free: 6.801 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: 0 () * 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 8.92e-05/0.2276, allocations: 122.7 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.2276, allocations: 7.906 kB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.2277, allocations: 19.45 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2277, allocations: 0 / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2277, allocations: 4 kB / 0.7924 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2277, allocations: 3.938 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.2279, allocations: 177.6 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2279, allocations: 0 / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.2281, allocations: 19.98 kB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2281, allocations: 3.984 kB / 0.7926 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2281, allocations: 4 kB / 0.7926 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2281, allocations: 4 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2281, allocations: 3.938 kB / 0.7926 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.2286, allocations: 326.6 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.2286, allocations: 81.02 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2287, allocations: 0 / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2288, allocations: 32 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.2289, allocations: 15.86 kB / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.2289, allocations: 0 / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.2289, allocations: 95.27 kB / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2289, allocations: 0 / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002438/0.2292, allocations: 11.94 kB / 0.7932 GB, free: 5.789 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: 0 () * 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.000701/0.2299, allocations: 0.8561 MB / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.2303, allocations: 135.8 kB / 0.7942 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2303, allocations: 0 / 0.7942 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.2305, allocations: 76.05 kB / 0.7942 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.2308, allocations: 16.2 kB / 0.7942 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.2328, allocations: 1.657 MB / 0.7959 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.233, allocations: 0.7004 MB / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.2331, allocations: 16.02 kB / 0.7966 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.2331, allocations: 15.44 kB / 0.7966 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2331, allocations: 0 / 0.7966 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009553/0.2427, allocations: 1.518 MB / 0.7981 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.2428, allocations: 215.3 kB / 0.7983 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.905, allocations: 4.062 kB / 0.7983 GB, free: 0.5586 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)