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.001109/0.001113, allocations: 105.4 kB / 15.7 MB, free: 24 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.001256/0.001256, allocations: 195.5 kB / 16.64 MB, free: 6.453 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.723/1.723, 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.002025/0.002025, allocations: 72.39 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2586, 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.IntegerVectorReplicator): time 0.001918/0.2605, allocations: 0.6659 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.2614, allocations: 0.8398 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.2615, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.2616, allocations: 7.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.2617, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.2618, allocations: 23.91 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2619, allocations: 67.89 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2621, allocations: 27.98 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.2622, allocations: 47.77 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.2623, allocations: 39.89 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2623, allocations: 8 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.2623, allocations: 4 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.2624, allocations: 31.91 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.2624, allocations: 35.75 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.2626, allocations: 91.73 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2626, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2626, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2626, allocations: 0 / 0.7855 GB, free: 11.33 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.0006482/0.2632, allocations: 401.9 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2633, allocations: 8.031 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.2633, allocations: 46.69 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.2634, allocations: 8.844 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2635, allocations: 192.2 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2636, allocations: 8.375 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2636, allocations: 4.375 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.264, allocations: 167.8 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.264, allocations: 3.938 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.264, allocations: 4 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.264, allocations: 4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.2644, allocations: 147.8 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.265, allocations: 444.7 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.2653, allocations: 113.1 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.2655, allocations: 77.69 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2655, allocations: 8 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2655, allocations: 38.55 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2655, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007109/0.2663, allocations: 229.5 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2663, allocations: 77.11 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.2664, allocations: 129.8 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2664, allocations: 25.7 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.2665, allocations: 104.3 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2665, allocations: 8.047 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.2666, allocations: 25.7 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.2667, allocations: 318.8 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.2669, allocations: 75.83 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2671, allocations: 77.62 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.2675, allocations: 129.6 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2675, allocations: 0 / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004235/0.2679, allocations: 161.4 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2679, allocations: 7.984 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.268, allocations: 4.062 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.268, allocations: 0 / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2681, allocations: 23.97 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2682, allocations: 3.938 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2683, allocations: 19.92 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2683, allocations: 3.984 kB / 0.7885 GB, free: 8.023 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.0001046/0.2684, allocations: 125.8 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.2685, allocations: 4 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.2685, allocations: 11.53 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2685, allocations: 0 / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2685, allocations: 3.938 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2685, allocations: 4 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.2688, allocations: 197.6 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2688, allocations: 3.984 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2689, allocations: 27.97 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2689, allocations: 0 / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.269, allocations: 0 / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.269, allocations: 8 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.269, allocations: 3.938 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.2695, allocations: 330.6 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.2695, allocations: 85.02 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2696, allocations: 4 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.2697, allocations: 15.97 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.2698, allocations: 27.84 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2698, allocations: 4 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.2699, allocations: 99.2 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2699, allocations: 4 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002783/0.2702, allocations: 8.281 kB / 0.7894 GB, free: 6.977 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.0007568/0.2709, allocations: 0.8678 MB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.2714, allocations: 147.8 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2714, allocations: 0 / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2717, allocations: 83.89 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.272, allocations: 18.56 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2742, allocations: 1.699 MB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2745, allocations: 0.7002 MB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.522e-05/0.2746, allocations: 24.22 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.2747, allocations: 27.42 kB / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.2747, allocations: 0 / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.292, allocations: 2.396 MB / 0.7952 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.628, allocations: 12.05 kB / 0.7952 GB, free: 1.012 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --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)