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.001562/0.001562, allocations: 109.4 kB / 15.69 MB, free: 128 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.002208/0.002208, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.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.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002296/0.002297, allocations: 69.53 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2301, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002376/0.2325, allocations: 0.6465 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2336, allocations: 0.7971 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.2337, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2338, allocations: 7.938 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.234, allocations: 3.938 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.504e-05/0.234, allocations: 7.984 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.2342, allocations: 59.83 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2344, allocations: 19.98 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.2344, allocations: 27.92 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.2345, allocations: 31.84 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.2346, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.2346, allocations: 7.938 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.2346, allocations: 27.91 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.2347, allocations: 27.88 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2348, allocations: 63.78 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2348, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2349, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2349, 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.0007007/0.2356, allocations: 391.5 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.2356, allocations: 12.02 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.2357, allocations: 34.75 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.2357, allocations: 8.844 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.2359, allocations: 196.1 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.236, allocations: 4.375 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.236, allocations: 12.3 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.2363, allocations: 127.9 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2364, allocations: 3.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2364, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2364, allocations: 11.98 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2368, allocations: 127.8 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.2375, allocations: 432.9 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2378, allocations: 85.14 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.238, allocations: 65.7 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.238, allocations: 4 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2381, allocations: 38.5 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2381, allocations: 0 / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006159/0.2387, allocations: 189.6 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2388, allocations: 81.14 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.2389, allocations: 125.7 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2389, allocations: 25.7 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.239, allocations: 99.97 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.239, allocations: 3.906 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.239, allocations: 13.72 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2391, allocations: 318.8 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2393, allocations: 59.92 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2395, allocations: 61.66 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.2398, allocations: 113.6 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2398, allocations: 0 / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004002/0.2402, allocations: 137.5 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2403, allocations: 4 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2403, allocations: 4.062 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2403, allocations: 4 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2404, allocations: 19.91 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2405, allocations: 4 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.2405, allocations: 15.92 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.2406, allocations: 0 / 0.788 GB, free: 8.449 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 0.0001013/0.2407, allocations: 121.8 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.2407, allocations: 4 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.2408, allocations: 19.45 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2408, allocations: 4 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2408, allocations: 0 / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2408, allocations: 3.938 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.241, allocations: 177.6 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.241, allocations: 0 / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.2411, allocations: 15.98 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.2412, allocations: 3.984 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.2412, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2412, allocations: 4 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2412, allocations: 4 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.2417, allocations: 310.5 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.2417, allocations: 77.11 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2417, allocations: 4.031 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2419, allocations: 19.97 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.2419, allocations: 15.92 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2419, allocations: 4.375 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.242, allocations: 95.2 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.242, allocations: 0 / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002557/0.2423, allocations: 15.94 kB / 0.7889 GB, free: 7.469 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.0007149/0.243, allocations: 0.8365 MB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.2434, allocations: 115.9 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2434, allocations: 4 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2436, allocations: 59.86 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2439, allocations: 22.58 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.2459, allocations: 1.578 MB / 0.7914 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2461, allocations: 0.7002 MB / 0.7921 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.994e-05/0.2462, allocations: 11.98 kB / 0.7921 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.2462, allocations: 19.42 kB / 0.7922 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2463, allocations: 0 / 0.7922 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.2617, allocations: 1.872 MB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.576, allocations: 3.938 kB / 0.794 GB, free: 2.23 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)