Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 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.001172/0.001172, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.538/1.538, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.894/1.894, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001588/0.001588, allocations: 65 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3033, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002377/0.3057, allocations: 0.669 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3068, allocations: 0.8321 MB / 0.785 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.3069, allocations: 0 / 0.785 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.307, allocations: 11.86 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3071, allocations: 8 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.3073, allocations: 23.91 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3074, allocations: 71.89 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.3076, allocations: 31.97 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.3077, allocations: 35.86 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3078, allocations: 43.83 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.3079, allocations: 4 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.3079, allocations: 8 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.308, allocations: 27.91 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.308, allocations: 31.86 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3082, allocations: 83.75 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3082, allocations: 0 / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.378e-06/0.3082, allocations: 0 / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3082, allocations: 7.938 kB / 0.7853 GB, free: 11.53 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008289/0.3091, allocations: 403.5 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.3091, allocations: 8.031 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.06e-05/0.3092, allocations: 42.73 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.3093, allocations: 8.844 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.3095, allocations: 196.1 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.3096, allocations: 4.375 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.3096, allocations: 8.375 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.31, allocations: 155.8 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3101, allocations: 7.938 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3101, allocations: 4 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3101, allocations: 3.984 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.3106, allocations: 155.8 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.3112, allocations: 444.7 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.3115, allocations: 117.1 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.3118, allocations: 73.7 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3118, allocations: 160 / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.3118, allocations: 42.5 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3118, allocations: 0 / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007612/0.3126, allocations: 229.3 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.3127, allocations: 81.36 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3128, allocations: 125.8 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3128, allocations: 25.7 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3129, allocations: 107.9 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.313, allocations: 11.91 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.313, allocations: 21.72 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3132, allocations: 314.8 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.3134, allocations: 67.92 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3136, allocations: 77.62 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.314, allocations: 129.5 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.314, allocations: 0 / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004473/0.3145, allocations: 161.4 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3145, allocations: 8 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3145, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3145, allocations: 384 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3147, allocations: 35.97 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3147, allocations: 7.922 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3149, allocations: 23.91 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3149, allocations: 7.938 kB / 0.7883 GB, free: 8.207 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001302/0.315, allocations: 122.5 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.3151, allocations: 4 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.3151, allocations: 11.53 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3151, allocations: 4 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3151, allocations: 7.922 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3151, allocations: 0 / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.3154, allocations: 193.6 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3154, allocations: 0 / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3156, allocations: 31.91 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3156, allocations: 0 / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3156, allocations: 0 / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3156, allocations: 0 / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3156, allocations: 3.938 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.3162, allocations: 338.5 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.3163, allocations: 85.02 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3163, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3165, allocations: 23.97 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3166, allocations: 23.91 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.3166, allocations: 4 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.1e-05/0.3167, allocations: 95.25 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3167, allocations: 0 / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002778/0.317, allocations: 16 kB / 0.7892 GB, free: 7.164 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.001078/0.3181, allocations: 0.8641 MB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005499/0.3186, allocations: 143.8 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3186, allocations: 4 kB / 0.7902 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.3189, allocations: 87.89 kB / 0.7903 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.3193, allocations: 12.88 kB / 0.7903 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.3221, allocations: 1.698 MB / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.3226, allocations: 0.704 MB / 0.7926 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.3227, allocations: 19.98 kB / 0.7927 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.3228, allocations: 27.42 kB / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.3228, allocations: 0 / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.3459, allocations: 2.373 MB / 0.795 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.202, allocations: 17.48 kB / 0.795 GB, free: 1.207 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)