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.0008972/0.0008972, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001102/0.001102, allocations: 168.7 kB / 15.95 MB, free: 204 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.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.801/1.801, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.000522/0.000522, allocations: 13.66 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001012/0.2668, allocations: 377.6 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.2677, allocations: 0.7971 MB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.2678, allocations: 4 kB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.01e-05/0.2679, allocations: 0 / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.692e-05/0.268, allocations: 11.92 kB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.463e-05/0.268, allocations: 4 kB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2681, allocations: 47.84 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2683, allocations: 11.98 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.2683, allocations: 23.91 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.2684, allocations: 19.92 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2684, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2684, allocations: 4 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.2685, allocations: 19.97 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.2685, allocations: 37.64 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.249e-05/0.2686, allocations: 43.91 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2686, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2686, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2686, allocations: 3.938 kB / 0.7888 GB, free: 10.43 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.0005768/0.2692, allocations: 391.4 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2692, allocations: 12.03 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.544e-05/0.2693, allocations: 34.56 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.2693, allocations: 4 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.2695, allocations: 194.8 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.2695, allocations: 4 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2696, allocations: 8 kB / 0.7894 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.2699, allocations: 143.2 kB / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2699, allocations: 0 / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2699, allocations: 4 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2699, allocations: 7.984 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.2703, allocations: 147.8 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.271, allocations: 448.9 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.2712, allocations: 97.09 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.2714, allocations: 77.7 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.2714, allocations: 0 / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2714, allocations: 34.56 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.2715, allocations: 0 / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006627/0.2721, allocations: 225.5 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.2722, allocations: 85.2 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.2723, allocations: 122 kB / 0.7907 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2723, allocations: 25.7 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.2724, allocations: 95.98 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.2724, allocations: 7.906 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.2724, allocations: 0 / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2725, allocations: 322.8 kB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2727, allocations: 67.92 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2729, allocations: 74.03 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.273, allocations: 55.94 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.273, allocations: 4 kB / 0.7913 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003577/0.2734, allocations: 161.5 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2734, allocations: 18.81 kB / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2734, allocations: 0 / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2735, allocations: 0 / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2736, allocations: 23.94 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2736, allocations: 3.984 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.2737, allocations: 23.98 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2737, allocations: 4 kB / 0.7916 GB, free: 7.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.874e-05/0.2738, allocations: 117.8 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.2739, allocations: 8 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.2739, allocations: 7.516 kB / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2739, allocations: 0 / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.2739, allocations: 7.953 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2739, allocations: 0 / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2742, allocations: 177.6 kB / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2742, allocations: 0 / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2743, allocations: 31.92 kB / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2743, allocations: 0 / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2743, allocations: 3.984 kB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2743, allocations: 4 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2743, allocations: 0 / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.2748, allocations: 334.6 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.2748, allocations: 77.11 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.2748, allocations: 4 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.275, allocations: 23.97 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.2751, allocations: 7.984 kB / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.2751, allocations: 0 / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.498e-05/0.2752, allocations: 107.2 kB / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2752, allocations: 0 / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002684/0.2754, allocations: 19.84 kB / 0.7925 GB, free: 6.293 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 (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.0007513/0.2762, allocations: 0.8445 MB / 0.7933 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.2766, allocations: 147.8 kB / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2766, allocations: 288 / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2768, allocations: 71.92 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2771, allocations: 10.61 kB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2784, allocations: 0.6368 MB / 0.7941 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2787, allocations: 0.6926 MB / 0.7948 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.237e-05/0.2788, allocations: 15.98 kB / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.2789, allocations: 19.42 kB / 0.7948 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.2789, allocations: 0 / 0.7948 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.2912, allocations: 1.504 MB / 0.7963 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.2915, allocations: 200 kB / 0.7965 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.108, allocations: 4.062 kB / 0.7965 GB, free: 2.168 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/linux/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) Environment - environmentSimulation: