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.001484/0.001485, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 196.3 kB / 16.64 MB, free: 6.582 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 4.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.676/1.676, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001516/0.001516, allocations: 72.47 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2548, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001991/0.2569, allocations: 0.6451 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.2578, allocations: 0.7971 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.2579, allocations: 7.938 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.258, allocations: 7.938 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.278e-05/0.2581, allocations: 11.91 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.934e-05/0.2582, allocations: 4 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.2583, allocations: 51.91 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2584, allocations: 23.97 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.2585, allocations: 27.86 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.2586, allocations: 31.91 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.2586, allocations: 7.984 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.2587, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.2587, allocations: 19.92 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.2588, allocations: 27.86 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2589, allocations: 67.78 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2589, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2589, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2589, allocations: 0 / 0.7853 GB, free: 11.5 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.0006016/0.2595, allocations: 395.5 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2596, allocations: 8.031 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.2596, allocations: 42.69 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.2596, allocations: 4.844 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.2598, allocations: 188.2 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2599, allocations: 4.375 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2599, allocations: 384 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.2602, allocations: 139.8 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.2602, allocations: 3.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2602, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2603, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.2606, allocations: 127.8 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.2613, allocations: 436.8 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.2615, allocations: 97.06 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2617, allocations: 57.72 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.2618, allocations: 7.938 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2618, allocations: 38.55 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2618, allocations: 0 / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006301/0.2624, allocations: 189.4 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.2625, allocations: 77.11 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.2626, allocations: 121.8 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2626, allocations: 25.95 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.2627, allocations: 108 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2627, allocations: 3.906 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2627, allocations: 13.72 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2629, allocations: 314.8 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.263, allocations: 55.92 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2632, allocations: 69.58 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2635, allocations: 109.5 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2636, allocations: 0 / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003633/0.2639, allocations: 141.5 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.264, allocations: 4 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.264, allocations: 0 / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.264, allocations: 4 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.2641, allocations: 15.97 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2641, allocations: 7.984 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.2642, allocations: 27.97 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2642, allocations: 0 / 0.7881 GB, free: 8.434 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.085e-05/0.2643, allocations: 122.5 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.2644, allocations: 4 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.2644, allocations: 3.531 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2644, allocations: 4 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2644, allocations: 0 / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2644, allocations: 3.938 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.2647, allocations: 185.6 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2647, allocations: 0 / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.2648, allocations: 19.97 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2648, allocations: 384 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2648, allocations: 3.938 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2648, allocations: 4 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2648, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.2652, allocations: 314.5 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.2653, allocations: 77.11 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2653, allocations: 3.984 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.2655, allocations: 15.98 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.2655, allocations: 19.95 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2655, allocations: 4 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.2656, allocations: 91.27 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.493e-06/0.2656, allocations: 0 / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002947/0.2659, allocations: 19.88 kB / 0.7889 GB, free: 7.457 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.0007264/0.2666, allocations: 0.8327 MB / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.267, allocations: 115.9 kB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.267, allocations: 4 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.2672, allocations: 63.91 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.2676, allocations: 12.81 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.2695, allocations: 1.579 MB / 0.7915 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2698, allocations: 0.708 MB / 0.7921 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.124e-05/0.2699, allocations: 11.98 kB / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.2699, allocations: 15.44 kB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.27, allocations: 0 / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.2887, allocations: 1.867 MB / 0.794 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.696, allocations: 0 / 0.794 GB, free: 2.227 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)