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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 108 kB / 15.6 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.001493/0.001493, allocations: 193.7 kB / 16.53 MB, free: 6.672 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.745/1.745, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.843/1.843, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001597/0.001597, allocations: 63.89 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3195, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002278/0.3218, allocations: 0.6467 MB / 0.784 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3229, allocations: 0.7971 MB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.323, allocations: 0 / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.3232, allocations: 3.938 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.3233, allocations: 7.938 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.377e-05/0.3234, allocations: 11.98 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3235, allocations: 59.83 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3237, allocations: 16 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.3238, allocations: 23.92 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.3239, allocations: 35.83 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3239, allocations: 4 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.3239, allocations: 8 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.324, allocations: 27.91 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.3241, allocations: 19.88 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3242, allocations: 63.78 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3242, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3242, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3242, allocations: 4 kB / 0.7851 GB, free: 11.73 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.0007154/0.3249, allocations: 383.5 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.325, allocations: 12.03 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.325, allocations: 8.844 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.3253, allocations: 192.2 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3253, allocations: 384 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3253, allocations: 8.375 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.3257, allocations: 139.7 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3257, allocations: 192 / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3257, allocations: 7.938 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3257, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.3261, allocations: 123.8 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.3268, allocations: 440.9 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3271, allocations: 85.08 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.3273, allocations: 65.72 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3273, allocations: 4 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3273, allocations: 34.55 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3273, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006618/0.328, allocations: 189.5 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3281, allocations: 81.05 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3282, allocations: 125.8 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3282, allocations: 25.7 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.3283, allocations: 99.97 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.3283, allocations: 3.906 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.3284, allocations: 21.88 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3285, allocations: 314.8 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3287, allocations: 59.92 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3289, allocations: 61.64 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3293, allocations: 105.7 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3293, allocations: 0 / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003921/0.3297, allocations: 141.5 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3297, allocations: 4.938 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3297, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3297, allocations: 4 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3299, allocations: 15.97 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3299, allocations: 4 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.959e-05/0.33, allocations: 24.19 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.33, allocations: 3.984 kB / 0.7877 GB, free: 8.727 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 9.026e-05/0.3301, allocations: 126.5 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.3302, allocations: 4 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3302, allocations: 15.41 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3302, allocations: 4 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3302, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3302, allocations: 3.938 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.3305, allocations: 177.6 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3305, allocations: 0 / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.3306, allocations: 27.95 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3306, allocations: 0 / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3306, allocations: 0 / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3306, allocations: 4 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3307, allocations: 0 / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.3311, allocations: 310.5 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.3312, allocations: 81.09 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3312, allocations: 7.938 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3314, allocations: 15.98 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.3314, allocations: 11.86 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3315, allocations: 8 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.12e-05/0.3315, allocations: 91.27 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3315, allocations: 4.031 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002612/0.3318, allocations: 15.94 kB / 0.7886 GB, free: 7.738 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.0001279/0.3319, allocations: 103.2 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.3324, allocations: 103.9 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.3324, allocations: 4.125 kB / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.3326, allocations: 67.86 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3329, allocations: 11.98 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.3334, allocations: 170.3 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3337, allocations: 0.6924 MB / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.271e-05/0.3337, allocations: 15.98 kB / 0.7897 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.3338, allocations: 11.44 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.3338, allocations: 288 / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.003309/0.3371, allocations: 0.7959 MB / 0.7905 GB, free: 5.715 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)