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.0008606/0.0008601, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.701/1.701, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005483/0.0005485, allocations: 24.75 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2576, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001209/0.2589, allocations: 397.6 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2605, allocations: 0.8282 MB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.2606, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2607, allocations: 4 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2608, allocations: 15.92 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.261, allocations: 11.98 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.2611, allocations: 55.84 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.2613, allocations: 31.95 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.2614, allocations: 23.92 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.2614, allocations: 23.91 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.2615, allocations: 3.938 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.2615, allocations: 4 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.2615, allocations: 19.97 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.2616, allocations: 37.64 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.2617, allocations: 63.88 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2617, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2617, allocations: 4 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2617, allocations: 0 / 0.7889 GB, free: 10.28 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.0007163/0.2625, allocations: 395.3 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.2625, allocations: 8.031 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.2626, allocations: 42.55 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.2626, allocations: 11.84 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2629, allocations: 194.9 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2629, allocations: 8 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.263, allocations: 4 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.2634, allocations: 175.3 kB / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2634, allocations: 0 / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2634, allocations: 0 / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2634, allocations: 0 / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.264, allocations: 183.7 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.2646, allocations: 452.6 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.265, allocations: 121.1 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2652, allocations: 90.77 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.2653, allocations: 0 / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2653, allocations: 38.5 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2653, allocations: 0 / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007187/0.266, allocations: 257.5 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.2661, allocations: 81.2 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2663, allocations: 133.9 kB / 0.791 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2663, allocations: 25.7 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.2664, allocations: 99.97 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2664, allocations: 8.062 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.2664, allocations: 4 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2666, allocations: 310.8 kB / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.2668, allocations: 79.91 kB / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.267, allocations: 85.64 kB / 0.7916 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2672, allocations: 71.92 kB / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2672, allocations: 0 / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004779/0.2676, allocations: 189.4 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2677, allocations: 4 kB / 0.7918 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2677, allocations: 4.062 kB / 0.7918 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2677, allocations: 7.953 kB / 0.7918 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.2679, allocations: 23.97 kB / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2679, allocations: 4.375 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.268, allocations: 23.97 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2681, allocations: 8 kB / 0.7919 GB, free: 6.934 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.2682, allocations: 126.4 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.2683, allocations: 7.938 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.2683, allocations: 15.47 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.2683, allocations: 8.031 kB / 0.792 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2683, allocations: 0 / 0.792 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2683, allocations: 0 / 0.792 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.2686, allocations: 205.5 kB / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2686, allocations: 4 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2688, allocations: 31.97 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2688, allocations: 0 / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2688, allocations: 0 / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2688, allocations: 0 / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2688, allocations: 7.953 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.2694, allocations: 354.7 kB / 0.7926 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.2694, allocations: 81.02 kB / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2695, allocations: 3.938 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2696, allocations: 27.97 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.2697, allocations: 23.92 kB / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2697, allocations: 11.92 kB / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.2698, allocations: 91.27 kB / 0.7928 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2698, allocations: 4 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002676/0.2701, allocations: 12 kB / 0.7929 GB, free: 5.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008543/0.2709, allocations: 0.8835 MB / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.2714, allocations: 163.8 kB / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.2714, allocations: 4.125 kB / 0.7939 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.2717, allocations: 99.83 kB / 0.794 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.272, allocations: 10.44 kB / 0.794 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2734, allocations: 0.6995 MB / 0.7947 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.2739, allocations: 0.7004 MB / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.648e-05/0.274, allocations: 32.2 kB / 0.7954 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.274, allocations: 19.42 kB / 0.7954 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2741, allocations: 4 kB / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.2861, allocations: 1.994 MB / 0.7974 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.2864, allocations: 207.5 kB / 0.7976 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.167, allocations: 0 / 0.7976 GB, free: 1.078 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/linux/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) Environment - environmentSimulation: